annotate 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
rev   line source
adam@1722 1 table t : {A : int, B : int}
adam@1722 2 PRIMARY KEY {{primary_key [#A] [[B = _]]}}
adam@1722 3
adam@1722 4 fun main () : transaction page =
adam@1722 5 queryI (SELECT * FROM t) (fn _ => return ());
adam@1722 6 return <xml/>