summaryrefslogtreecommitdiff
path: root/tests/policy.ur
diff options
context:
space:
mode:
Diffstat (limited to 'tests/policy.ur')
-rw-r--r--tests/policy.ur5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/policy.ur b/tests/policy.ur
index 1087bab9..c381beac 100644
--- a/tests/policy.ur
+++ b/tests/policy.ur
@@ -3,9 +3,8 @@ table fruit : { Id : int, Nam : string, Weight : float, Secret : string }
policy query_policy (SELECT fruit.Id, fruit.Nam, fruit.Weight FROM fruit)
fun main () =
- xml <- queryX (SELECT fruit.Nam
- FROM fruit
- ORDER BY fruit.Nam)
+ xml <- queryX (SELECT fruit.Id, fruit.Nam
+ FROM fruit)
(fn x => <xml><li>{[x.Fruit.Nam]}</li></xml>);
return <xml><body>