view tests/lower.ur @ 2307:6ae9a2784a45

Return to working version mode
author Adam Chlipala <adam@chlipala.net>
date Sun, 20 Dec 2015 14:39:50 -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>