Mercurial > urweb
view tests/lower.ur @ 1973:155bd0bc4d28
Day of week functions.
author | Patrick Hurst <phurst@mit.edu> |
---|---|
date | Thu, 05 Dec 2013 11:36:54 -0500 |
parents | 2b312f6d4007 |
children |
line wrap: on
line source
table lower : { A : string } fun main () : transaction page = all <- queryX1 (SELECT * FROM lower WHERE lower(lower.A) LIKE '%foo') (fn r => <xml>{[r.A]}<br/></xml>); return <xml><body> {all} </body></xml>