Install QSqlDriver features?
-
Hi,
I am currently working with QODBC driver with QSqlQueryModel to query my database. Unfortunately, my odbc driver does not support QSqlDriver::Querysize.
@bool b = db.driver()->hasFeature(QSqlDriver::QuerySize);@ returns false...
Is there a way to install the feature, for example when re-building the driver?
P.S.: I use "select count(*) ..." as a workaround, which is okay but I think using model->rowCount() is faster?