diff options
author | 2022-11-27 14:32:21 +0000 | |
---|---|---|
committer | 2022-11-27 14:32:21 +0000 | |
commit | 0e0daffd72523fdbb2e1512de18e6d0b7e4c0e5a (patch) | |
tree | 3323773d23e2a0577b0bfc137dd76b5a796d7e36 | |
parent | Merge pull request #2339 from python-discord/auto-archive-help-posts (diff) | |
parent | Merge branch 'main' into patch-1 (diff) |
Merge pull request #2333 from erlend-aasland/patch-1
Link directly to the sqlite3 placeholder howto
-rw-r--r-- | bot/resources/tags/sql-fstring.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/resources/tags/sql-fstring.md b/bot/resources/tags/sql-fstring.md index 538a0aa87..fa28b6e3b 100644 --- a/bot/resources/tags/sql-fstring.md +++ b/bot/resources/tags/sql-fstring.md @@ -12,5 +12,5 @@ db.execute(query, params) Note: Different database libraries support different placeholder styles, e.g. `%s` and `$1`. Consult your library's documentation for details. **See Also** -• [Extended Example with SQLite](https://docs.python.org/3/library/sqlite3.html) (search for "Instead, use the DB-API's parameter substitution") +• [Python sqlite3 docs](https://docs.python.org/3/library/sqlite3.html#how-to-use-placeholders-to-bind-values-in-sql-queries) - How to use placeholders to bind values in SQL queries • [PEP-249](https://peps.python.org/pep-0249/) - A specification of how database libraries in Python should work |