Fix typo in SQLi blind case

This commit is contained in:
François Capon 2024-02-09 10:17:38 +01:00 committed by Àngel Ollé Blázquez
parent dd0f135088
commit 57d5b313b9

View File

@ -34,7 +34,7 @@ This means an `orderExpression` can be a `selectExpression` which can be a funct
a `case` statement we might be able to ask the database some questions, like:
----
SELECT * FROM users ORDER BY (CASE WHEN (TRUE) THEN lastname ELSE firstname)
SELECT * FROM users ORDER BY (CASE WHEN (TRUE) THEN lastname ELSE firstname END)
----
So we can substitute any kind of boolean operation in the `when(....)` part. The statement will just work because