view tests/insert.ur @ 565:74800be65591

Creation of sources in server code
author Adam Chlipala <adamc@hcoop.net>
date Fri, 19 Dec 2008 11:47:18 -0500
parents bc89dfdbc495
children
line wrap: on
line source
table t1 : {A : int, B : string, C : float, D : bool}

fun main () : transaction page =
        () <- dml (INSERT INTO t1 (A, B, C, D) VALUES (5, "6", 7.0, TRUE));
        return <html><body>Inserted.</body></html>