view tests/update.ur @ 1466:e2d7bd41f527

Remember to remove explicit table projections in SQLite UPDATE SET values
author Adam Chlipala <adam@chlipala.net>
date Mon, 30 May 2011 07:48:08 -0400
parents 0aee86b8a6d6
children
line wrap: on
line source
table t1 : {A : int, B : string, C : float, D : bool}

fun main () : transaction page =
        () <- dml (UPDATE t1 SET B = 'Hi', C = 12.34 WHERE A = 5);
        return <html><body>Updated.</body></html>