Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove uniqueFields from Python bindings
  • Loading branch information
elpaso committed May 29, 2020
1 parent fc300f5 commit d82c3fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
13 changes: 0 additions & 13 deletions python/core/auto_generated/qgssqliteutils.sip.in
Expand Up @@ -53,19 +53,6 @@ Returns a string list of SQLite (and spatialite) system tables
.. versionadded:: 3.8
%End

static QSet<QString> uniqueFields( sqlite3 *connection, const QString &tableName, QString &errorMessage );
%Docstring
Returns a list of field names for ``connection`` and ``tableName`` having a UNIQUE constraint,
fields that are part of a UNIQUE constraint that spans over multiple fields
are not returned.

.. note::

the implementation is the same of GDAL but the test coverage is much
better in GDAL.

.. versionadded:: 3.14
%End

};

Expand Down
3 changes: 2 additions & 1 deletion src/core/qgssqliteutils.h
Expand Up @@ -209,8 +209,9 @@ class CORE_EXPORT QgsSqliteUtils
* \note the implementation is the same of GDAL but the test coverage is much
* better in GDAL.
* \since QGIS 3.14
* \note not available in Python bindings
*/
static QSet<QString> uniqueFields( sqlite3 *connection, const QString &tableName, QString &errorMessage );
static QSet<QString> uniqueFields( sqlite3 *connection, const QString &tableName, QString &errorMessage ) SIP_SKIP;

};

Expand Down

0 comments on commit d82c3fe

Please sign in to comment.