summaryrefslogtreecommitdiff
path: root/demo
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-11-06 18:49:38 -0500
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-11-06 18:49:38 -0500
commit3af6c283c504e7e85d9e127f64a5eb72abe583ee (patch)
tree89c4891d29fe4c10e81ed23ad7747b2a7d115064 /demo
parent98d669cf07157e275fa796fdd5ad35f3388b0ad1 (diff)
Tree demo works
Diffstat (limited to 'demo')
-rw-r--r--demo/treeFun.ur2
1 files changed, 1 insertions, 1 deletions
diff --git a/demo/treeFun.ur b/demo/treeFun.ur
index 60633695..236f354c 100644
--- a/demo/treeFun.ur
+++ b/demo/treeFun.ur
@@ -18,7 +18,7 @@ functor Make(M : sig
(root : option M.key) =
let
fun recurse (root : option key) =
- queryX' (SELECT * FROM tab WHERE tab.{parent} = {root})
+ queryX' (SELECT * FROM tab WHERE {[eqNullable' (SQL tab.{parent}) root]})
(fn r =>
children <- recurse (Some r.Tab.id);
return <xml>