view tests/pkeyEscape.ur @ 1722:f7d9dc5d57eb

Antiquote for PRIMARY KEY
author Adam Chlipala <adam@chlipala.net>
date Sat, 21 Apr 2012 15:47:02 -0400
parents
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/>