view tests/pkey.ur @ 731:e0dd85ea58e1

Label exported symbols by effect-ness; factor out some common datatypes
author Adam Chlipala <adamc@hcoop.net>
date Thu, 16 Apr 2009 14:49:25 -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/>