view tests/nomangle.ur @ 2282:19b233bb3176

Make cache flushes safe for transactions (not sure about LRU bump on read).
author Ziv Scully <ziv@mit.edu>
date Thu, 12 Nov 2015 09:47:20 -0500
parents f55b0e45422f
children
line wrap: on
line source
table foo : { Bar : int, Baz : string }
  PRIMARY KEY Baz

fun main () : transaction page =
    rs <- queryX1 (SELECT foo.Bar FROM foo WHERE foo.Baz = 'Hi')
          (fn r => <xml>{[r.Bar]}</xml>);
    return <xml><body>{rs}</body></xml>