summaryrefslogtreecommitdiff
path: root/tests/nomangle.ur
blob: b853a6906d62e7f87d85bb047f8366cce5337738 (plain)
1
2
3
4
5
6
7
table foo : { Bar : int, Baz : string }
  PRIMARY KEY Baz

fun main () : transaction page =
    rs <- queryX1 (SELECT foo.Bar FROM foo WHERE foo.Baz = 'Hi')
          (fn r => <xml>{[r.Bar]}</xml>);
    return <xml><body>{rs}</body></xml>