Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Is QSqlTableModel:match searching the database or only the lazy loaded rows?

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

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 1.8k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    marcus.fr
    wrote on last edited by
    #1

    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?

    Thanks!

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved