What is the difference between ie. `booleanParam()...
# exposed
s
What is the difference between ie.
booleanParam()
and
booleanLiteral()
? I can look at the code but the different use cases escape me. They seem extremely similar
t
*Literal
will always inlined in SQL query as a value while
*Param
will be used as a prepared statement param. like :
WHERE Table.col = true
vs
WHERE Table.col = ?
The result of execution will be the same
s
Thanks. Makes sense !