Mercurial > urweb
annotate tests/nomangle.ur @ 2276:c05f9a5e0f0f
Progress on free paths, but consolidation seems to fail more with them.
author | Ziv Scully <ziv@mit.edu> |
---|---|
date | Mon, 09 Nov 2015 13:37:31 -0500 |
parents | f55b0e45422f |
children |
rev | line source |
---|---|
adam@2144 | 1 table foo : { Bar : int, Baz : string } |
adam@2144 | 2 PRIMARY KEY Baz |
adam@2144 | 3 |
adam@2144 | 4 fun main () : transaction page = |
adam@2144 | 5 rs <- queryX1 (SELECT foo.Bar FROM foo WHERE foo.Baz = 'Hi') |
adam@2144 | 6 (fn r => <xml>{[r.Bar]}</xml>); |
adam@2144 | 7 return <xml><body>{rs}</body></xml> |