view tests/t_t.ur @ 1504:71fdaef3b5dd

Tutorial: Names and Records
author Adam Chlipala <adam@chlipala.net>
date Sun, 17 Jul 2011 10:27:09 -0400
parents 8fce85939259
children
line wrap: on
line source
table t : {A : int, B : string}

task initialize = fn () => dml (UPDATE t SET A = A + 1 WHERE TRUE);
                     dml (UPDATE t SET B = 'q' WHERE TRUE)