add support for named host parameters
This commit is contained in:
parent
19df6f18aa
commit
6720d3e3a3
4 changed files with 33 additions and 5 deletions
Language/SQL/SimpleSQL
|
@ -46,6 +46,11 @@ which have been changed to try to improve the layout of the output.
|
|||
> valueExpr (Iden i) = name i
|
||||
> valueExpr Star = text "*"
|
||||
> valueExpr Parameter = text "?"
|
||||
> valueExpr (HostParameter p i) =
|
||||
> text (':':p)
|
||||
> <+> maybe empty
|
||||
> (\i' -> text "indicator" <+> text (':':i'))
|
||||
> i
|
||||
|
||||
> valueExpr (App f es) = name f <> parens (commaSep (map valueExpr es))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue