Skip to content
Permalink
Browse files

Update doc

  • Loading branch information
pblottiere committed Nov 14, 2017
1 parent 640f78e commit 51d156d349018ec84b7225a9a21f73b64bfb5d62
Showing with 2 additions and 4 deletions.
  1. +1 −2 python/core/qgstransaction.sip
  2. +1 −2 src/core/qgstransaction.h
@@ -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
@@ -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

0 comments on commit 51d156d

Please sign in to comment.
You can’t perform that action at this time.