view tests/init.ur @ 1974:a10368c65e7f

Add day-of-week/month <-> int conversion functions.
author Patrick Hurst <phurst@mit.edu>
date Sat, 07 Dec 2013 21:31:51 -0500
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))