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

sqlalchemy::schema::Column Class Reference

Inheritance diagram for sqlalchemy::schema::Column:

sqlalchemy::schema::SchemaItem sqlalchemy::sql::_ColumnClause sqlalchemy::sql::ColumnElement sqlalchemy::sql::Selectable sqlalchemy::sql::_CompareMixin sqlalchemy::sql::ClauseElement

List of all members.


Detailed Description

represents a column in a database table.  this is a subclass of sql.ColumnClause and
represents an actual existing table in the database, in a similar fashion as TableClause/Table.

Definition at line 302 of file schema.py.


Public Member Functions

def __add__
def __and__
def __div__
def __eq__
def __ge__
def __gt__
def __init__
def __invert__
def __le__
def __lt__
def __mod__
def __mul__
def __ne__
def __or__
def __repr__
def __str__
def __sub__
def __truediv__
def accept_schema_visitor
def accept_visitor
def append_foreign_key
def between
def compare
def compile
def copy
def copy_container
def distinct
def endswith
def execute
def get_engine
def in_
def label
def like
def op
def scalar
def select
def shares_lineage
def startswith
def to_selectable

Public Attributes

 args
 autoincrement
 constraints
 default
 index
 key
 name
 nullable
 onupdate
 parens
 quote
 table
 type
 unique

Static Public Attributes

tuple case_sensitive = property(_case_sens)
tuple columns = property(lambda self:[self])
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_key = property(_one_fkey)
tuple foreign_keys = util.SimpleProperty('_foreign_keys')
tuple metadata = property(lambda s:s._derived_metadata())
tuple orig_set = property(_get_orig_set, _set_orig_set,doc="""a Set containing TableClause-bound, non-proxied ColumnElements for which this ColumnElement is a proxy. In all cases except for a column proxied from a Union (i.e. CompoundSelect), this set will be just one element.""")
tuple primary_key = util.SimpleProperty('_primary_key')

Private Member Functions

def _case_sens
def _derived_metadata
def _get_engine
def _get_parent
def _make_proxy
def _set_parent

Private Attributes

 __originating_column
 _foreign_keys
 _is_oid
 _primary_key

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

Generated by  Doxygen 1.6.0   Back to index