annotate demo/batchG.ur @ 708:1a317a707d71

Add primary keys to demo
author Adam Chlipala <adamc@hcoop.net>
date Tue, 07 Apr 2009 16:22:11 -0400
parents fcf0bd3d1667
children 15ddd64a5113
rev   line source
adamc@650 1 table t : {Id : int, A : string, B : float}
adamc@708 2 PRIMARY KEY Id
adamc@650 3
adamc@650 4 open BatchFun.Make(struct
adamc@650 5 val tab = t
adamc@650 6 val title = "BatchG"
adamc@650 7 val cols = {A = BatchFun.string "A",
adamc@650 8 B = BatchFun.float "B"}
adamc@650 9 end)