diff options
author | Adam Chlipala <adamc@hcoop.net> | 2010-04-06 11:07:19 -0400 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2010-04-06 11:07:19 -0400 |
commit | 80e769bec359d261a15235f58c951ffdfdc2d0e8 (patch) | |
tree | eb5229cc85480dfe8b7f967e453ecea3db193a0d /tests/policy.ur | |
parent | f91d0356ca6a514852a1dd1332a204cddf8dd1aa (diff) |
Parsing float and string SQL literals
Diffstat (limited to 'tests/policy.ur')
-rw-r--r-- | tests/policy.ur | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/policy.ur b/tests/policy.ur index db89fbe5..6f2d2d5b 100644 --- a/tests/policy.ur +++ b/tests/policy.ur @@ -35,7 +35,9 @@ fun fname r = fun main () = x1 <- queryX (SELECT fruit.Id, fruit.Nam - FROM fruit) + FROM fruit + WHERE fruit.Nam = "apple" + AND fruit.Weight = 1.23) (fn x => <xml><li>{[x.Fruit.Id]}: {[x.Fruit.Nam]}</li></xml>); x2 <- queryX (SELECT fruit.Nam, order.Qty |