The QSqlDriverCreatorBase class is the base class for SQL driver factories. More


Virtual functions#


This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

Detailed Description#

Reimplement createObject() to return an instance of the specific QSqlDriver subclass that you want to provide.

See registerSqlDriver() for details.

See also


class PySide6.QtSql.QSqlDriverCreatorBase#
abstract PySide6.QtSql.QSqlDriverCreatorBase.createObject()#
Return type:


Reimplement this function to returns a new instance of a QSqlDriver subclass.