QSqlDriver/doc: Add a note about features depending on the db server
Some features are server-dependent and therefore an open db connection is needed to make sure that the feature is available. Pick-to: 6.7 6.5 Fixes: QTBUG-10016 Change-Id: Ia9a117a64ba5fe7cdd69bf95a41cfc301ab5fd94 Reviewed-by: Axel Spoerl <axel.spoerl@qt.io> (cherry picked from commit 139b8779469244dd1aa226dd3222e6e4aeb2c932) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
205e3a8dc8
commit
f9d6c8b14c
@ -138,7 +138,9 @@ bool QSqlDriver::isOpenError() const
|
||||
\enum QSqlDriver::DriverFeature
|
||||
|
||||
This enum contains a list of features a driver might support. Use
|
||||
hasFeature() to query whether a feature is supported or not.
|
||||
hasFeature() to query whether a feature is supported or not. Some features
|
||||
depend on the database server so they can only properly determined after
|
||||
the database connection is successfully opened with QSqlDatabase::open().
|
||||
|
||||
\value Transactions Whether the driver supports SQL transactions.
|
||||
\value QuerySize Whether the database is capable of reporting the size
|
||||
|
Loading…
x
Reference in New Issue
Block a user