view tests/insert.ur @ 1320:add5ae41969e

In FastCGI, signal 304 with a header, not the usual HTTP/1.1 line
author Adam Chlipala <adam@chlipala.net>
date Sat, 20 Nov 2010 09:48:03 -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>