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
Update Doc/library/sqlite3.rst
  • Loading branch information
Erlend Egeberg Aasland authored Aug 3, 2022
commit 8e10ac4777343ba4d38d8594983b6c2ccdcc0dea
3 changes: 3 additions & 0 deletions Doc/library/sqlite3.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1423,6 +1423,9 @@ How-to guides

.. _sqlite3-placeholders:

Using placeholders to bind values in SQL queries
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

SQL operations usually need to use values from Python variables. However,
Comment thread
erlend-aasland marked this conversation as resolved.
beware of using Python's string operations to assemble queries, as they
are vulnerable to SQL injection attacks (see the `xkcd webcomic
Expand Down