diff options
author | Adam Chlipala <adamc@hcoop.net> | 2008-09-07 14:30:32 -0400 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2008-09-07 14:30:32 -0400 |
commit | df8eea45a9ba38963b5bcc58b4e6439c055524e4 (patch) | |
tree | 8a352989a67720ba4146c04fe75dc4503d023e45 /tests | |
parent | a8bc278b2a46d93bec4bf88cd7e56f12a253f061 (diff) |
Remove need to mention table name in expressions for UPDATE and DELETE
Diffstat (limited to 'tests')
-rw-r--r-- | tests/delete.ur | 2 | ||||
-rw-r--r-- | tests/update.ur | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/delete.ur b/tests/delete.ur index e2109f61..fee63812 100644 --- a/tests/delete.ur +++ b/tests/delete.ur @@ -1,5 +1,5 @@ table t1 : {A : int, B : string, C : float, D : bool} fun main () : transaction page = - () <- dml (DELETE FROM t1 WHERE T.A = 5); + () <- dml (DELETE FROM t1 WHERE A = 5); return <html><body>Deleted.</body></html> diff --git a/tests/update.ur b/tests/update.ur index e58c10cb..06de35f8 100644 --- a/tests/update.ur +++ b/tests/update.ur @@ -1,5 +1,5 @@ table t1 : {A : int, B : string, C : float, D : bool} fun main () : transaction page = - () <- dml (UPDATE t1 SET B = '6', C = 7.0 WHERE T.A = 5); + () <- dml (UPDATE t1 SET B = '6', C = 7.0 WHERE A = 5); return <html><body>Updated.</body></html> |