Returns the low-level database handle wrapped in a QVariant or an invalid variant if there is no handle.
This example retrieves the handle for a connection to sqlite: doc/src/snippets/code/src_sql_kernel_qsqldriver.cpp 0 This snippet returns the handle for PostgreSQL or MySQL: doc/src/snippets/code/src_sql_kernel_qsqldriver.cpp 1
Definition at line 611 of file qsqldriver.cpp. { return QVariant(); }
|