Mercurial > urweb
view tests/whiteout.ur @ 1936:6745eafff617
Start SQL transactions as read-only when possible, based on conservative program analysis
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Thu, 12 Dec 2013 17:42:48 -0500 |
parents | f0224c7f12bb |
children |
line wrap: on
line source
table t : { Chan : option (channel unit) } fun main () : transaction page = ch <- channel; dml (INSERT INTO t (Chan) VALUES ({[Some ch]})); return <xml><body>Did it.</body></xml>