view tests/showSql.ur @ 1941:9f3597979e98

Tweaking handling of database transactions
author Adam Chlipala <adam@chlipala.net>
date Wed, 25 Dec 2013 13:11:43 -0500
parents b8558b613abd
children
line wrap: on
line source
table t : { A : int }

fun main () : transaction page = return <xml><body>
  {[(SELECT t.A FROM t ORDER BY t.A DESC) : sql_query [] [] _ _]}
</body></xml>