SQL injection
An attack where user input is pasted into a query and changes what the query does.
SQL injection happens when untrusted text is concatenated into SQL; binding parameters prevents it.
Loading interactive…
Examples
Pasting
x' OR '1'='1intoWHERE name = '{input}'makes the query match every row; sqlx 0.9 refuses aformat!string as SQL unless wrapped inAssertSqlSafe.