comparison demo/crud2.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 669ac5e9a69e
comparison
equal deleted inserted replaced
707:d8217b4cb617 708:1a317a707d71
1 table t : {Id : int, Nam : string, Ready : bool} 1 table t : {Id : int, Nam : string, Ready : bool}
2 PRIMARY KEY Id
2 3
3 open Crud.Make(struct 4 open Crud.Make(struct
4 val tab = t 5 val tab = t
5 6
6 val title = "Are you ready?" 7 val title = "Are you ready?"