parameterized-query

Confusion between prepared statement and parameterized query in Python

Confusion between prepared statement and parameterized query in Python Question: As far as I understand, prepared statements are (mainly) a database feature that allows you to separate parameters from the code that uses such parameters. Example: PREPARE fooplan (int, text, bool, numeric) AS INSERT INTO foo VALUES($1, $2, $3, $4); EXECUTE fooplan(1, ‘Hunter Valley’, ‘t’, …

Total answers: 4