view tests/pkeyEscape.ur @ 2031:d11a7a9c4a73

New syntactic shorthand for antiquoting subqueries
author Adam Chlipala <adam@chlipala.net>
date Wed, 25 Jun 2014 14:04:13 -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/>