view tests/init.ur @ 1073:b2311dfb3158

Initializers and setval
author Adam Chlipala <adamc@hcoop.net>
date Sun, 13 Dec 2009 14:20:41 -0500
parents
children 0657e5adc938
line wrap: on
line source
sequence seq
table fred : {A : int, B : int}

initializer
    setval seq 1;
    dml (INSERT INTO fred (A, B) VALUES (0, 1))