add create and drop assertion
This commit is contained in:
parent
3c0788af6e
commit
c102528d5f
4 changed files with 45 additions and 5 deletions
Language/SQL/SimpleSQL
|
@ -508,6 +508,14 @@ which have been changed to try to improve the layout of the output.
|
|||
> statement _ (DropSequence nm db) =
|
||||
> text "drop" <+> text "sequence" <+> names nm <+> dropBehav db
|
||||
|
||||
|
||||
> statement d (CreateAssertion nm ex) =
|
||||
> texts ["create","assertion"] <+> names nm
|
||||
> <+> text "check" <+> parens (valueExpr d ex)
|
||||
|
||||
> statement _ (DropAssertion nm db) =
|
||||
> text "drop" <+> text "assertion" <+> names nm <+> dropBehav db
|
||||
|
||||
== dml
|
||||
|
||||
> statement d (SelectStatement q) = queryExpr d q
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue