[Qt-interest] Database abstraction with QSqlQueryModel
Neville Dastur
qt at dastur.me.uk
Tue Aug 24 20:11:08 CEST 2010
Just checking I've got this right and not missing something.
The QSqlQueryModel doesn't seem to support full database abstraction. So
what I mean by this is parameters etc. QSqlQuery on which it is based
has bindValue(), but this is not implemented in QSqlQueryModel and so I
have to code my own quoting and escaping of of data values? Also can't
seem to find a way to use QSqlQuery to generate a sql statement that I
can then pass to QSqlQueryModel.
Is this right, before I post an item on Qt bug tracker.
Thanks
Neville
More information about the Qt-interest-old
mailing list