diff options
author | Adam Chlipala <adamc@hcoop.net> | 2008-10-16 16:24:19 -0400 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2008-10-16 16:24:19 -0400 |
commit | 78c1a4cd0f7766327190268b8e3609c854ebfa54 (patch) | |
tree | 47c17bbfc5f80908d39e5a32df30437512e5d6d2 /tests/sql_indent.ur | |
parent | 0a66597b3498f5863620c3ca5e2713e45eed47f8 (diff) |
Indenting simple DML properly
Diffstat (limited to 'tests/sql_indent.ur')
-rw-r--r-- | tests/sql_indent.ur | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/sql_indent.ur b/tests/sql_indent.ur index c4a46d71..e312dc3b 100644 --- a/tests/sql_indent.ur +++ b/tests/sql_indent.ur @@ -3,3 +3,12 @@ table t1 : {A : int, B : string, C : float} val q1 = (SELECT * FROM t1 WHERE A = 0) + +val a1 = (INSERT INTO t1 + VALUES (0, "1", 2.0)) + +val a2 = (UPDATE t1 + SET A = 3, B = "4", C = 5.0) + +val a3 = (DELETE FROM t1 + WHERE B <> "good") |