support simple interval literal interval '3 days' and rename CastOp to TypedLit
This commit is contained in:
parent
939189a04f
commit
045f2be825
7 changed files with 18 additions and 12 deletions
Language/SQL/SimpleSQL
|
@ -111,7 +111,7 @@
|
|||
> ,text "as"
|
||||
> ,text tn])
|
||||
|
||||
> scalarExpr (CastOp (TypeName tn) s) =
|
||||
> scalarExpr (TypedLit (TypeName tn) s) =
|
||||
> text tn <+> quotes (text s)
|
||||
|
||||
> scalarExpr (SubQueryExpr ty qe) =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue