diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2007-12-06 22:23:10 +0000 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2007-12-06 22:23:10 +0000 |
commit | 541b6772e9b8a09b10bd7a16fa9e2b7f693d1194 (patch) | |
tree | 5dc22ca324eafbb6ac48a296f02f166984252d46 /test/dialect/firebird.py | |
parent | 3ac9c93e260aa1a5d9c88a648bf7d1213a0e817f (diff) | |
download | sqlalchemy-541b6772e9b8a09b10bd7a16fa9e2b7f693d1194.tar.gz |
- generation of "unique" bind parameters has been simplified to use the same
"unique identifier" mechanisms as everything else. This doesn't affect
user code, except any code that might have been hardcoded against the generated
names. Generated bind params now have the form "<paramname>_<num>",
whereas before only the second bind of the same name would have this form.
- bindparam() objects themselves can be used as keys for execute(), i.e.
statement.execute({bind1:'foo', bind2:'bar'})
Diffstat (limited to 'test/dialect/firebird.py')
-rw-r--r-- | test/dialect/firebird.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dialect/firebird.py b/test/dialect/firebird.py index 0abbdf029..636ab2d05 100644 --- a/test/dialect/firebird.py +++ b/test/dialect/firebird.py @@ -21,7 +21,7 @@ class CompileTest(SQLCompileTest): self.assert_compile(s, "SELECT sometable_1.col1, sometable_1.col2 FROM sometable sometable_1") def test_function(self): - self.assert_compile(func.foo(1, 2), "foo(:foo, :foo_1)") + self.assert_compile(func.foo(1, 2), "foo(:foo_1, :foo_2)") self.assert_compile(func.current_time(), "CURRENT_TIME") self.assert_compile(func.foo(), "foo") |