Mercurial > urweb
annotate tests/lower.ur @ 1749:f9e5a8e09cdf
Simplify type of Basis.tag, regarding 'class' attribute; new compatibility parsing of 'class' values given as string literals
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Sun, 06 May 2012 13:07:13 -0400 |
parents | 2b312f6d4007 |
children |
rev | line source |
---|---|
adam@1636 | 1 table lower : { A : string } |
adam@1636 | 2 |
adam@1636 | 3 fun main () : transaction page = |
adam@1636 | 4 all <- queryX1 (SELECT * |
adam@1636 | 5 FROM lower |
adam@1636 | 6 WHERE lower(lower.A) LIKE '%foo') |
adam@1636 | 7 (fn r => <xml>{[r.A]}<br/></xml>); |
adam@1636 | 8 return <xml><body> |
adam@1636 | 9 {all} |
adam@1636 | 10 </body></xml> |