Rewrites ? placeholders to $1..$n for PostgreSQL. A ? inside a quoted literal is content (WHERE note = 'why?' must survive), so single and double quotes are tracked.
?
$1..$n
WHERE note = 'why?'
Rewrites
?placeholders to$1..$nfor PostgreSQL. A?inside a quoted literal is content (WHERE note = 'why?'must survive), so single and double quotes are tracked.