Mercurial > urweb
view tests/nomangle.ur @ 2242:200a7ed4343b
Add parameterless query to caching test.
author | Ziv Scully <ziv@mit.edu> |
---|---|
date | Sun, 19 Jul 2015 19:12:50 -0700 |
parents | f55b0e45422f |
children |
line wrap: on
line source
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>