]> git.ipfire.org Git - thirdparty/psycopg.git/commit
fix: confusing named parameters in example query
authorJules Sagot--Gentil <jules.sagot@julhost.xyz>
Sat, 29 Jan 2022 17:25:45 +0000 (18:25 +0100)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sat, 29 Jan 2022 19:22:47 +0000 (19:22 +0000)
commit1e3cd726edd8838f1705c9208f7972c7e0a540fb
tree54987cfc8505641622c47f6e1ba6038bef4c549e
parent5c6ead75b25d84811d971079f21cf3134ab15a75
fix: confusing named parameters in example query

In the named parameters example query, the name of the parameters are
Python built in data types: int and str.

This is confusing because it looks like we are casting values passed
as arguments instead of passing named arguments.
docs/basic/params.rst