diff --git a/python/core/qgstransaction.sip b/python/core/qgstransaction.sip index 760211f744e..8714d94f5cc 100644 --- a/python/core/qgstransaction.sip +++ b/python/core/qgstransaction.sip @@ -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 diff --git a/src/core/qgstransaction.h b/src/core/qgstransaction.h index de1b5be14f6..4329ed5b5cb 100644 --- a/src/core/qgstransaction.h +++ b/src/core/qgstransaction.h @@ -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