mirror of
https://github.com/mariadb-corporation/mariadb-connector-python.git
synced 2025-08-15 23:42:40 +00:00
Documentation fix:
Added note, that executemany() may return a result set in case a RETURNING clause was specified.
This commit is contained in:
@ -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()
|
||||
|
||||
|
Reference in New Issue
Block a user