1
Fork 0

support simple interval literal interval '3 days' and rename CastOp to TypedLit

This commit is contained in:
Jake Wheat 2013-12-17 12:51:14 +02:00
parent 939189a04f
commit 045f2be825
7 changed files with 18 additions and 12 deletions
Language/SQL/SimpleSQL

View file

@ -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) =