view tests/pkey.ur @ 788:f5fea13a60b9

Constraint syntax
author Adam Chlipala <adamc@hcoop.net>
date Tue, 05 May 2009 14:36:16 -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/>