Mercurial > urweb
view tests/nomangle.ur @ 2151:4cd36865e0b5
assert function to use with location literal _LOC_
author | Gabriel Riba Faura <griba2001@gmail.com> |
---|---|
date | Wed, 03 Jun 2015 15:07:46 +0200 |
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>