add support for ? for parameterized queries
This commit is contained in:
parent
72d7b9428f
commit
b68c116839
5 changed files with 18 additions and 0 deletions
Language/SQL/SimpleSQL
|
@ -40,6 +40,7 @@
|
|||
> <+> maybe empty (parens . text . show ) p
|
||||
> scalarExpr (Iden i) = name i
|
||||
> scalarExpr Star = text "*"
|
||||
> scalarExpr Parameter = text "?"
|
||||
|
||||
> scalarExpr (App f es) = name f <> parens (commaSep (map scalarExpr es))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue