view 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
line wrap: on
line source
table t1 : {A : int, B : string, C : float, D : bool}

fun main () : transaction page =
        () <- dml (delete t1 (WHERE T.A = 5));
        return <html><body>Deleted.</body></html>