annotate tests/delete.ur @ 301:54282db31a9b

Elaborated 'delete'
author Adam Chlipala <adamc@hcoop.net>
date Sun, 07 Sep 2008 13:52:42 -0400
parents
children 148ba06f3e67
rev   line source
adamc@301 1 table t1 : {A : int, B : string, C : float, D : bool}
adamc@301 2
adamc@301 3 fun main () : transaction page =
adamc@301 4 () <- dml (delete t1 (WHERE T.A = 5));
adamc@301 5 return <html><body>Deleted.</body></html>