Details
Description
It appears that PySide 6.5.0 lacks query() method:
>>> from PySide6.QtSql import QSqlTableModel, QSqlQueryModel >>> a = QSqlTableModel() >>> a.query() Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: 'PySide6.QtSql.QSqlTableModel' object has no attribute 'query' >>> b = QSqlQueryModel() >>> b.query() Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: 'PySide6.QtSql.QSqlQueryModel' object has no attribute 'query'
Attachments
Issue Links
- is duplicated by
-
PYSIDE-2326 PySide6.QtSql.QSqlTableModel' object has no attribute 'query'
- Closed
- resulted from
-
QTBUG-105048 QSqlQuery is supposed to be move-only, however we copy it in our code
- Closed