Mercurial > urweb
annotate tests/nomangle.ur @ 2167:a9dc205edd78
Add '-noEmacs' for 'make test'
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Thu, 06 Aug 2015 12:51:09 -0400 |
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> |