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

Reimplement QSqlQueryModel::setQuery()

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes