Mercurial > urweb
view tests/lower.ur @ 2133:e722bcc42eab
Fix missing SQL name-mangling in table initialization
author | Istvan Chung <istvan@vivatropolis.org> |
---|---|
date | Thu, 23 Apr 2015 16:37:15 -0400 |
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>