view tests/insert.ur @ 2054:4ad46302f659

Don't use uw_malloc() or equivalent in generating error messages while parsing HTTP request
author Adam Chlipala <adam@chlipala.net>
date Fri, 15 Aug 2014 18:25:56 -0400
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>