Added since to new API methods

This commit is contained in:
Alessandro Pasotti 2019-10-28 09:25:40 +01:00
parent 7744ee3f41
commit ce5405f136
2 changed files with 6 additions and 0 deletions

View File

@ -262,6 +262,8 @@ Returns the URI string for the given ``table`` and ``schema``.
Raises a QgsProviderConnectionException if any errors are encountered.
:raises :: py:class:`QgsProviderConnectionException`
.. versionadded:: 3.12
%End
virtual void createVectorTable( const QString &schema, const QString &name, const QgsFields &fields, QgsWkbTypes::Type wkbType, const QgsCoordinateReferenceSystem &srs, bool overwrite, const QMap<QString, QVariant> *options ) const throw( QgsProviderConnectionException );
@ -389,6 +391,8 @@ Raises a QgsProviderConnectionException if any errors are encountered or if the
.. note::
Not available in Python bindings
.. versionadded:: 3.12
%End
QList<QgsAbstractDatabaseProviderConnection::TableProperty> tablesInt( const QString &schema = QString(), const int flags = 0 ) const throw( QgsProviderConnectionException ) /PyName=tables/;

View File

@ -321,6 +321,7 @@ class CORE_EXPORT QgsAbstractDatabaseProviderConnection : public QgsAbstractProv
* Returns the URI string for the given \a table and \a schema.
* Raises a QgsProviderConnectionException if any errors are encountered.
* \throws QgsProviderConnectionException
* \since QGIS 3.12
*/
virtual QString tableUri( const QString &schema, const QString &name ) const SIP_THROW( QgsProviderConnectionException );
@ -423,6 +424,7 @@ class CORE_EXPORT QgsAbstractDatabaseProviderConnection : public QgsAbstractProv
* Raises a QgsProviderConnectionException if any errors are encountered or if the table does not exist.
* \throws QgsProviderConnectionException
* \note Not available in Python bindings
* \since QGIS 3.12
*/
virtual QgsAbstractDatabaseProviderConnection::TableProperty table( const QString &schema, const QString &table ) const;