Mercurial > urweb
comparison demo/crud1.ur @ 421:0767d7ad0c3a
Crud demo
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Thu, 23 Oct 2008 18:18:51 -0400 |
parents | |
children | 6c4643880df5 |
comparison
equal
deleted
inserted
replaced
420:9119a5920106 | 421:0767d7ad0c3a |
---|---|
1 table t1 : {Id : int, A : int, B : string, C : float, D : bool} | |
2 | |
3 open Crud.Make(struct | |
4 val tab = t1 | |
5 | |
6 val title = "Crud1" | |
7 | |
8 val cols = {A = Crud.int "A", | |
9 B = Crud.string "B", | |
10 C = Crud.float "C", | |
11 D = Crud.bool "D"} | |
12 end) |