Re: [Sqlalchemy-tickets] [sqlalchemy] #1679: SQL Schema support in the Dialect class
Brought to you by:
zzzeek
From: sqlalchemy <mi...@zz...> - 2010-02-28 21:53:02
|
#1679: SQL Schema support in the Dialect class --------------------------------+------------------------------------------- Reporter: guest | Owner: zzzeek Type: enhancement | Status: new Priority: medium | Milestone: 0.6.xx Component: (none) | Severity: major - 1-3 hours Resolution: | Keywords: Status_field: awaiting triage | --------------------------------+------------------------------------------- Comment (by guest): Replying to [comment:1 zzzeek]: > we also should get has_schema() in the sqlalchemy.engine.reflection.Inspector. But the `Inspector` class does not have methods to check if a database object exists (like `has_schema`) only methods like `get_schema_names`. I have attached a new patch. This patch implements '''full''' support to SQL schemas. I have implemented a new `schema.Schema` object and support for create/drop of a schema. Note that there is still the `supports_schema` flag; I know that it is not of pratical use, but still provides some informations about a specific dialect. -- Ticket URL: <http://www.sqlalchemy.org/trac/ticket/1679#comment:4> sqlalchemy <http://www.sqlalchemy.org/> The Database Toolkit for Python |