annotate tests/init.ur @ 2209:0ca11d57c175

Cleans up interface (it's now a command line option) and renames project to "sqlcache" in the all-one-word style. Still has issues to do with concurrency, retrying transactions, and foreign function calls that either rely on state or have side effects.
author Ziv Scully <ziv@mit.edu>
date Sat, 31 May 2014 03:08:16 -0400
parents 8a169fc0838b
children
rev   line source
adamc@1073 1 sequence seq
adamc@1073 2 table fred : {A : int, B : int}
adamc@1073 3
adam@1348 4 task initialize = fn () =>
adamc@1073 5 setval seq 1;
adamc@1073 6 dml (INSERT INTO fred (A, B) VALUES (0, 1))