Mercurial > urweb
annotate demo/batchG.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 | a44daa674810 |
children |
rev | line source |
---|---|
adamc@650 | 1 table t : {Id : int, A : string, B : float} |
adamc@708 | 2 PRIMARY KEY Id |
adamc@650 | 3 |
adamc@782 | 4 open BatchFun.Make(struct |
adamc@782 | 5 val tab = t |
adamc@782 | 6 val title = "BatchG" |
adamc@782 | 7 val cols = {A = BatchFun.string "A", |
adamc@782 | 8 B = BatchFun.float "B"} |
adamc@782 | 9 end) |