python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
Does Qt SQL models support UPSERT?
I'm now using Qt SQL in my application, and I'm able to execute the following script (aka UPSERT) by using QSqlQuery:
INSERT INTO table_1(col_1,col_2,col_3) VALUES(val_1,val_2,val_3)
ON CONFLICT(col_1...
Aurus Huang
Votes: 0
Answers: 1
QtSQL error: SQLITE driver doesn't recognize my DB file as a database
the title mostly explains the problem.
I am using Qt 6 and the SQL module to connect to a external SQL database file (format is simply .db), in order to learn how SQL management via Qt works.
I learne...

byjove
Votes: 0
Answers: 0
How to submit data to the QSqlTableModel that has been changed by the user on the QTableView
I'm trying to retrieve the input from the user when modifying the QTableView as seen in the photo and then updating the QSqlTableModel in order to get my database modified.
The problem is that QTable...
Marçal Xena
Votes: 0
Answers: 1
Error conecting SQLOLEDB with QtSQL / QSqlDatabase
I'm struggling to get a connection using QtSql. The problem is that my type of connection is a "SQLOLEDB", and I can only find ODBDC examples...
Please any help would be so much appriciated!...
Marçal Xena
Votes: 0
Answers: 1