Mercurial > urweb
comparison demo/crud1.ur @ 708:1a317a707d71
Add primary keys to demo
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Tue, 07 Apr 2009 16:22:11 -0400 |
parents | 6302b10dbe0e |
children |
comparison
equal
deleted
inserted
replaced
707:d8217b4cb617 | 708:1a317a707d71 |
---|---|
1 table t1 : {Id : int, A : int, B : string, C : float, D : bool} | 1 table t1 : {Id : int, A : int, B : string, C : float, D : bool} |
2 PRIMARY KEY Id | |
2 | 3 |
3 open Crud.Make(struct | 4 open Crud.Make(struct |
4 val tab = t1 | 5 val tab = t1 |
5 | 6 |
6 val title = "Crud1" | 7 val title = "Crud1" |