view tests/pkeyEscape.ur @ 2269:f7bc7c11a656

Make SQL caches use more of the pure caching machinery, but it's brittle.
author Ziv Scully <ziv@mit.edu>
date Thu, 15 Oct 2015 00:52:04 -0400
parents f7d9dc5d57eb
children
line wrap: on
line source
table t : {A : int, B : int}
  PRIMARY KEY {{primary_key [#A] [[B = _]]}}

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