add support for typenames with precision and scale
This commit is contained in:
parent
60d1b446db
commit
558d44140a
5 changed files with 31 additions and 8 deletions
Language/SQL/SimpleSQL
|
@ -121,7 +121,10 @@
|
|||
> deriving (Eq,Show,Read)
|
||||
|
||||
> -- | Represents a type name, used in casts.
|
||||
> data TypeName = TypeName String deriving (Eq,Show,Read)
|
||||
> data TypeName = TypeName String
|
||||
> | PrecTypeName String Int
|
||||
> | Prec2TypeName String Int Int
|
||||
> deriving (Eq,Show,Read)
|
||||
|
||||
|
||||
> -- | Used for 'expr in (scalar expression list)', and 'expr in
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue