1
Fork 0

add create and drop assertion

This commit is contained in:
Jake Wheat 2015-08-16 20:03:02 +03:00
parent 3c0788af6e
commit c102528d5f
4 changed files with 45 additions and 5 deletions
Language/SQL/SimpleSQL

View file

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