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

Make it possible to specify by column names what columns a QSqlTableModel selects from the database

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Out of scope
    • Icon: P3: Somewhat important P3: Somewhat important
    • Some future release
    • 4.2.2
    • SQL Support
    • None

      It would be useful if there was a way to tell QSqlTableModel what columns (by specifying the column names) it should select and present to the user.

      Workaround: QSqlTableModel::removeColumns() can be used to prevent specific columns from being selected, or use QSqlQueryModel.

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

            Unassigned Unassigned
            admin Administrator
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes