summaryrefslogtreecommitdiff
path: root/demo/batchG.ur
blob: ea658164c2f8385139341e3657171223c66f749f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
table t : {Id : int, A : string, B : float}
  PRIMARY KEY Id

structure B = BatchFun.Make(struct
                                val tab = t
                                val title = "BatchG"
                                val cols = {A = BatchFun.string "A",
                                            B = BatchFun.float "B"}
                            end)

fun main () = return <xml><body>
  <form><submit value="Begin demo" action={B.main}/></form>
</body></xml>