File tree 1 file changed +9
-2
lines changed
1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -1530,12 +1530,12 @@ Cursor objects
1530
1530
1531
1531
For every item in *parameters *,
1532
1532
repeatedly execute the :ref: `parameterized <sqlite3-placeholders >`
1533
- SQL statement *sql *.
1533
+ :abbr: ` DML ( Data Manipulation Language ) ` SQL statement *sql *.
1534
1534
1535
1535
Uses the same implicit transaction handling as :meth: `~Cursor.execute `.
1536
1536
1537
1537
:param str sql:
1538
- A single SQL :abbr: ` DML ( Data Manipulation Language ) ` statement.
1538
+ A single SQL DML statement.
1539
1539
1540
1540
:param parameters:
1541
1541
An :term: `!iterable ` of parameters to bind with
@@ -1558,6 +1558,13 @@ Cursor objects
1558
1558
# cur is an sqlite3.Cursor object
1559
1559
cur.executemany("INSERT INTO data VALUES(?)", rows)
1560
1560
1561
+ .. note ::
1562
+
1563
+ Any resulting rows are discarded,
1564
+ including DML statements with `RETURNING clauses `_.
1565
+
1566
+ .. _RETURNING clauses : https://www.sqlite.org/lang_returning.html
1567
+
1561
1568
.. deprecated-removed :: 3.12 3.14
1562
1569
1563
1570
:exc: `DeprecationWarning ` is emitted if
You can’t perform that action at this time.
0 commit comments