annotate tests/insert.ur @ 906:c270fb847dc2

Be careful in Jscomp to avoid interpreting non-boolean/reference types as booleans with ?:
author Adam Chlipala <adamc@hcoop.net>
date Tue, 11 Aug 2009 11:26:37 -0400
parents bc89dfdbc495
children
rev   line source
adamc@299 1 table t1 : {A : int, B : string, C : float, D : bool}
adamc@299 2
adamc@299 3 fun main () : transaction page =
adamc@302 4 () <- dml (INSERT INTO t1 (A, B, C, D) VALUES (5, "6", 7.0, TRUE));
adamc@299 5 return <html><body>Inserted.</body></html>