Skip to content

Commit 51d156d

Browse files
committedNov 16, 2017
Update doc
1 parent 640f78e commit 51d156d

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed
 

‎python/core/qgstransaction.sip

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,7 @@ class QgsTransaction : QObject /Abstract/
9292

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

9897
\param sql The sql query to execute
9998
\param error The error message

‎src/core/qgstransaction.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,7 @@ class CORE_EXPORT QgsTransaction : public QObject SIP_ABSTRACT
103103
bool rollback( QString &errorMsg SIP_OUT );
104104

105105
/**
106-
* Execute the \a sql string. The result must not be a tuple, so running a
107-
* ``SELECT`` query will return an error.
106+
* Execute the \a sql string.
108107
*
109108
* \param sql The sql query to execute
110109
* \param error The error message

0 commit comments

Comments
 (0)
Please sign in to comment.