summaryrefslogtreecommitdiff
path: root/tests/lower.ur
blob: 21e1f1f6e6213aba528c6c8427823e306b58318c (plain)
1
2
3
4
5
6
7
8
9
10
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>