Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add small example
  • Loading branch information
erlend-aasland committed Jul 28, 2022
commit 36662994d842a79d293509265b89c9d5bb23121f
7 changes: 7 additions & 0 deletions Doc/library/sqlite3.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1003,6 +1003,13 @@ Cursor Objects
:term:`iterator` yielding parameters instead of a sequence.
Uses the same implicit transaction handling as :meth:`~Cursor.execute`.

Example::

data = [
("row1",),
("row2",),
]
cur.executemany("insert into t values(?)", data)
Comment thread
erlend-aasland marked this conversation as resolved.

.. method:: executescript(sql_script, /)

Expand Down