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 @@ -1363,12 +1363,12 @@ Cursor objects
1363
1363
1364
1364
For every item in *parameters *,
1365
1365
repeatedly execute the :ref: `parameterized <sqlite3-placeholders >`
1366
- SQL statement *sql *.
1366
+ :abbr: ` DML ( Data Manipulation Language ) ` SQL statement *sql *.
1367
1367
1368
1368
Uses the same implicit transaction handling as :meth: `~Cursor.execute `.
1369
1369
1370
1370
:param str sql:
1371
- A single SQL :abbr: ` DML ( Data Manipulation Language ) ` statement.
1371
+ A single SQL DML statement.
1372
1372
1373
1373
:param parameters:
1374
1374
An :term: `!iterable ` of parameters to bind with
@@ -1391,6 +1391,13 @@ Cursor objects
1391
1391
# cur is an sqlite3.Cursor object
1392
1392
cur.executemany("INSERT INTO data VALUES(?)", rows)
1393
1393
1394
+ .. note ::
1395
+
1396
+ Any resulting rows are discarded,
1397
+ including DML statements with `RETURNING clauses `_.
1398
+
1399
+ .. _RETURNING clauses : https://www.sqlite.org/lang_returning.html
1400
+
1394
1401
.. method :: executescript(sql_script, /)
1395
1402
1396
1403
Execute the SQL statements in *sql_script *.
You can’t perform that action at this time.
0 commit comments