Motivation: Allow some values created using lit function to be passed as a parameter to a query (right now every value created with lit ends up as a string)
TODO: Allow creating and executing queries with placeholders and corresponding (array of) parameters, which should be passed to the backend-specific query execution function.
Steps:
extend Expr with Foreign
functions showX should return a result inside a monad that accumulates parameters and assigns placeholders
Motivation: Allow some values created using
lit
function to be passed as a parameter to a query (right now every value created withlit
ends up as a string)TODO: Allow creating and executing queries with placeholders and corresponding (array of) parameters, which should be passed to the backend-specific query execution function.
Steps:
Expr
with ForeignshowX
should return a result inside a monad that accumulates parameters and assigns placeholders