view tests/pkey.ur @ 1455:913d9c2f55c9

Corify Basis.unit to empty record; this is needed so that specialize can see that they are equivalent.
author Karn Kallio <kkallio@eka>
date Fri, 06 May 2011 16:24:45 -0430
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/>