view tests/pkey.ur @ 2266:afd12c75e0d6

Do SQL and pure caching in the same pass.
author Ziv Scully <ziv@mit.edu>
date Wed, 14 Oct 2015 15:45:04 -0400
parents d8217b4cb617
children
line wrap: on
line source
table t : {A : int, B : int}
  PRIMARY KEY (A, B)

fun main () : transaction page =
    queryI (SELECT * FROM t) (fn _ => return ());
    return <xml/>