diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2007-02-04 23:45:45 +0000 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2007-02-04 23:45:45 +0000 |
commit | e3b409f6830ba2f1a627aab87a6f701218ba08c9 (patch) | |
tree | 167ec67d2d1db07012d4f82a552a5b6eeafd21fe /lib/sqlalchemy/databases/firebird.py | |
parent | 36fc80d8cb28c35dcac0d03e251aa4eb18a78aee (diff) | |
download | sqlalchemy-e3b409f6830ba2f1a627aab87a6f701218ba08c9.tar.gz |
- added "schema" argument to all has_table() calls, only supported so far by PG
- added basic unit test for PG reflection of tables in an alternate schema
Diffstat (limited to 'lib/sqlalchemy/databases/firebird.py')
-rw-r--r-- | lib/sqlalchemy/databases/firebird.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/databases/firebird.py b/lib/sqlalchemy/databases/firebird.py index 6af6d6d87..5a25b12db 100644 --- a/lib/sqlalchemy/databases/firebird.py +++ b/lib/sqlalchemy/databases/firebird.py @@ -167,7 +167,7 @@ class FBDialect(ansisql.ANSIDialect): def preparer(self): return FBIdentifierPreparer(self) - def has_table(self, connection, table_name): + def has_table(self, connection, table_name, schema=None): tblqry = """ SELECT count(*) FROM RDB$RELATIONS R |