view tests/init.ur @ 1279:4c367c8f5b2d

List.mapi
author Adam Chlipala <adamc@hcoop.net>
date Sun, 13 Jun 2010 14:13:47 -0400
parents 0657e5adc938
children 8a169fc0838b
line wrap: on
line source
sequence seq
table fred : {A : int, B : int}

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