Skip to content

Commit

Permalink
Dox
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Aug 9, 2020
1 parent 49d3376 commit 454cc32
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions python/core/auto_generated/qgssqlstatement.sip.in
Expand Up @@ -1008,6 +1008,14 @@ Entry function for the visitor pattern
protected:

QgsSQLStatement( const QString &statement, bool allowFragments );
%Docstring
Constructor for QgsSQLStatement, with the specified ``statement``.

If ``allowFragments`` is ``True`` then the parser will allow SQL fragments,
such as a expression or filter where clause alone.

.. versionadded:: 3.16
%End
};


Expand Down
8 changes: 8 additions & 0 deletions src/core/qgssqlstatement.h
Expand Up @@ -839,6 +839,14 @@ class CORE_EXPORT QgsSQLStatement
QString mStatement;
QString mParserErrorString;

/**
* Constructor for QgsSQLStatement, with the specified \a statement.
*
* If \a allowFragments is TRUE then the parser will allow SQL fragments,
* such as a expression or filter where clause alone.
*
* \since QGIS 3.16
*/
QgsSQLStatement( const QString &statement, bool allowFragments );
};

Expand Down

0 comments on commit 454cc32

Please sign in to comment.