aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Erlend E. Aasland <[email protected]>2022-11-25 13:14:51 +0100
committerGravatar GitHub <[email protected]>2022-11-25 13:14:51 +0100
commitaf9612f264a544912b07fc50abb351990b2b351d (patch)
tree165aa3f120e98865492fecb6146a9201ac6936d6
parentEdited several tags (#2322) (diff)
Link directly to the sqlite3 placeholder howto
-rw-r--r--bot/resources/tags/sql-fstring.md2
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