1
Fork 0

add support for nulls first/last

This commit is contained in:
Jake Wheat 2013-12-17 18:28:31 +02:00
parent e85ab8b831
commit ebe522b21d
7 changed files with 66 additions and 34 deletions
tools/Language/SQL/SimpleSQL

View file

@ -33,7 +33,7 @@ Some tests for parsing full queries.
> ,qeGroupBy = [Iden "a"]
> ,qeHaving = Just $ BinOp (App "count" [NumLit "1"])
> ">" (NumLit "5")
> ,qeOrderBy = [(Iden "s", Asc)]
> ,qeOrderBy = [OrderField (Iden "s") Asc NullsOrderDefault]
> }
> )
> ]