Labels

16/07/2009

Get total record count (SQLite)


my_sqlModel = new QSqlQueryModel(); //define a new sql model
my_sqlModel.setQuery(“select * from item”);
int cols = my_sqlModel.rowCount();

No comments:

Post a Comment