Skip to content

Commit

Permalink
Update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
pblottiere committed Nov 16, 2017
1 parent 640f78e commit 51d156d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions python/core/qgstransaction.sip
Expand Up @@ -92,8 +92,7 @@ class QgsTransaction : QObject /Abstract/

virtual bool executeSql( const QString &sql, QString &error /Out/, bool isDirty = false ) = 0;
%Docstring
Execute the ``sql`` string. The result must not be a tuple, so running a
``SELECT`` query will return an error.
Execute the ``sql`` string.

\param sql The sql query to execute
\param error The error message
Expand Down
3 changes: 1 addition & 2 deletions src/core/qgstransaction.h
Expand Up @@ -103,8 +103,7 @@ class CORE_EXPORT QgsTransaction : public QObject SIP_ABSTRACT
bool rollback( QString &errorMsg SIP_OUT );

/**
* Execute the \a sql string. The result must not be a tuple, so running a
* ``SELECT`` query will return an error.
* Execute the \a sql string.
*
* \param sql The sql query to execute
* \param error The error message
Expand Down

0 comments on commit 51d156d

Please sign in to comment.