Mercurial > urweb
annotate tests/init.ur @ 2238:7f92d70a326e
Only use string (rather than numeric, etc.) primitives in parsed SQL statements.
author | Ziv Scully <ziv@mit.edu> |
---|---|
date | Mon, 06 Jul 2015 01:31:04 -0700 |
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)) |