adam@1293: table t : {Id : int} adam@1293: PRIMARY KEY Id adam@1293: adam@1293: fun doStuff () = adam@1293: dml (INSERT INTO t (Id) VALUES (0)); adam@1293: o1 <- tryDml (INSERT INTO t (Id) VALUES (0)); adam@1293: dml (INSERT INTO t (Id) VALUES (1)); adam@1295: o2 <- tryDml (INSERT INTO t (Id) VALUES (2)); adam@1295: dml (INSERT INTO t (Id) VALUES (3)); adam@1295: o3 <- tryDml (INSERT INTO t (Id) VALUES (3)); adam@1295: return {[o1]}; {[o2]}; {[o3]} adam@1293: adam@1293: fun main () = return adam@1293:
adam@1293: