Logo Search packages:      
Sourcecode: sqlalchemy version File versions  Download package

sqlalchemy::schema::Table Class Reference

Inheritance diagram for sqlalchemy::schema::Table:

sqlalchemy::schema::SchemaItem sqlalchemy::sql::FromClause sqlalchemy::sql::Selectable sqlalchemy::sql::ClauseElement

List of all members.


Detailed Description

represents a relational database table.  This subclasses sql.TableClause to provide
a table that is "wired" to an engine.  Whereas TableClause represents a table as its 
used in a SQL expression, Table represents a table as its created in the database.  

Be sure to look at sqlalchemy.sql.TableImpl for additional methods defined on a Table.

Definition at line 153 of file schema.py.


Public Member Functions

def __and__
def __init__
def __init__
def __init__
def __invert__
def __or__
def __repr__
def __str__
def accept_schema_visitor
def accept_visitor
def alias
def append_column
def append_constraint
def compare
def compile
def copy_container
def corresponding_column
def count
def create
def default_order_by
def delete
def drop
def execute
def exists
def get_engine
def insert
def join
def named_with_column
def outerjoin
def scalar
def select
def tometadata
def update

Public Attributes

 constraints
 fullname
 indexes
 kwargs
 name
 owner
 parens
 primary_key
 quote
 quote_schema
 schema

Static Public Attributes

tuple c = property(lambda s:s._get_exported_attribute('_columns'))
tuple case_sensitive = property(_get_case_sensitive)
tuple case_sensitive_schema = property(_get_case_sensitive_schema)
tuple columns = property(lambda s:s._get_exported_attribute('_columns'))
tuple engine = property(lambda s: s._find_engine(), doc="attempts to locate a Engine within this ClauseElement structure, or returns None if none found.")
tuple engine = property(lambda s:s._get_engine())
tuple foreign_keys = property(lambda s:s._get_exported_attribute('_foreign_keys'))
tuple metadata = property(lambda s:s._derived_metadata())
tuple oid_column = property(_get_oid_column)
tuple original_columns = property(_orig_columns)
tuple primary_key = property(lambda s:s._primary_key, _set_primary_key)

Private Member Functions

def _derived_metadata
def _get_case_sensitive_schema
def _get_parent
def _set_parent
def _set_primary_key

Private Attributes

 _metadata
 _primary_key

Static Private Attributes

 __metaclass__ = _TableSingleton

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index