Placeholders follow the selected dialect
PostgreSQL uses numbered dollar placeholders, Transact-SQL uses named parameters, and MySQL and SQLite use positional question marks. Bind in the emitted order.
Replace supported scalar literals in parsed DML with dialect-specific placeholders and return a reviewable binding map.
Inputs stay in this browser tab. Parser-heavy work uses a tighter 256 KiB safety cap.
No result is placed in a URL, account, API, or remote log.
Bounded, explicit-dialect processing
Parameterization is not an authorization control and does not make arbitrary dynamic SQL safe. This route accepts only parsed SELECT, INSERT, UPDATE, DELETE, and REPLACE statements with supported scalar literals.
PostgreSQL uses numbered dollar placeholders, Transact-SQL uses named parameters, and MySQL and SQLite use positional question marks. Bind in the emitted order.
Backslash string escapes, executable DDL, unknown AST shapes, and statements outside the listed DML subset are rejected rather than rewritten.
The parser runs locally under byte, statement, AST-node, depth, row, column, diagnostic, and output limits. It never connects to a database or resolves files and URLs.