]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Added reflection to sqlalchemy.dialects.sybase
authorBenjamin Trofatter <bentrofatter@gmail.com>
Tue, 30 Oct 2012 08:52:22 +0000 (03:52 -0500)
committerBenjamin Trofatter <bentrofatter@gmail.com>
Tue, 30 Oct 2012 08:52:22 +0000 (03:52 -0500)
commit05314919616cde74f4cb3393b25dbf5d062fa64c
tree942af93f1b37f8317877e6e0135f8db00e79e11c
parent47da8e06da5067b87f1342d0f781696e790e9005
Added reflection to sqlalchemy.dialects.sybase

Added missing types supported by Sybase to ischema_names mapping

Created a SybaseInspector similar to the PGInspector, with a cached table_id
  lookup, and added it to the SybaseDialect as the default inspector.

Added the following methods to SybaseDialect:
  get_table_id
  get_columns
  _get_column_info : support method for get_columns
  get_foreign_keys
  get_indexes
  get_pk_constraint
  get_schema_names
  get_view_definition
  get_view_names
Rewrote the following methods to conform to the style of the rest:
  get_table_names
  has_table

Reordered colspec builder to put default clause after "NULL/NOT NULL",
  instead of before.  This fixed a syntax error.
lib/sqlalchemy/dialects/sybase/base.py