Documentation fix:

Added note, that executemany() may return a result set
in case a RETURNING clause was specified.
This commit is contained in:
Georg Richter
2022-07-07 07:37:29 +02:00
parent 275aaf3ee1
commit 687ba165cc

View File

@ -308,6 +308,10 @@ class Cursor(mariadb._mariadb.cursor):
Exactly behaves like .execute() but accepts a list of tuples, where each
tuple represents data of a row within a table.
.executemany() only supports DML (insert, update, delete) statements.
If the SQL statement contains a RETURNING clause, executemany()
returns a result set containing the values for columns listed in the
RETURNING clause.
"""
self.check_closed()