Mercurial > urweb
view demo/batchG.ur @ 1425:139d019c7237
Syntactic sugar for grouping by variable numbers of columns
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Thu, 17 Feb 2011 18:05:08 -0500 |
parents | a44daa674810 |
children |
line wrap: on
line source
table t : {Id : int, A : string, B : float} PRIMARY KEY Id open BatchFun.Make(struct val tab = t val title = "BatchG" val cols = {A = BatchFun.string "A", B = BatchFun.float "B"} end)