view tests/init.ur @ 1770:53d56d87fbd2

More manual detail on registering error handlers
author Adam Chlipala <adam@chlipala.net>
date Sat, 19 May 2012 11:38:14 -0400
parents 8a169fc0838b
children
line wrap: on
line source
sequence seq
table fred : {A : int, B : int}

task initialize = fn () =>
    setval seq 1;
    dml (INSERT INTO fred (A, B) VALUES (0, 1))