view tests/init.ur @ 1594:d9de8b3f8167

Fix completely broken manual description of 'view'
author Adam Chlipala <adam@chlipala.net>
date Mon, 14 Nov 2011 09:02:00 -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))