Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-860

Reimplement QSqlQueryModel::setQuery()

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Invalid
    • Icon: P2: Important P2: Important
    • Some future release
    • 4.3.0
    • SQL Support
    • None

      Current behaviour is to remove all old rows and then insert the new rows. A different and better( ? ) approach is to compare the query size, add or remove rows, and then emit dataChanged for the entire model. For databases that doesn't report the query size we'll have the prefetch size.

      Check all open QSqlQueryModel and QSqlTableModel tasks to see if other improvements can be done at the same time.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            mgoddard Michael Goddard (closed Nokia identity) (Inactive)
            admin Administrator
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes