Qt World Summit: Register Today!

Is QSqlTableModel:match searching the database or only the lazy loaded rows?

  • Hi

    I have QTableView based on QSqlTableModel. The select statement of the model points to thousands of rows in SQlite database. I know QSqlTableModel uses lazy population which is great since the data from all the database table rows will not be stored in the memory.

    However since the model uses lazy population will QSqlTableModel:match return correct result? Will it search all the rows in the database table or only those that the QTableView requested?


Log in to reply