This library was born to improve the abstraction in the conversion of an Expression to a SQL statement, but it is completely Expression and SQL agnostic, so it can be used for simlar use-cases.
Let's say you have a type FieldConverter
that converts a FieldExpression
object to a prepared statement. That is basically a function type
FieldConverter: FieldExpression => PreparedStatement
For the sake of the argument, let's assume that PreparedStatement
is just a string with placeholders, without the PDO
values bindings.