Update doc

This commit is contained in:
Blottiere Paul 2017-11-14 12:20:33 +00:00
parent 640f78e5df
commit 51d156d349
2 changed files with 2 additions and 4 deletions

View File

@ -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

View File

@ -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