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

sqlalchemy::sql::ColumnElement Class Reference

Inheritance diagram for sqlalchemy::sql::ColumnElement:

sqlalchemy::sql::Selectable sqlalchemy::sql::_CompareMixin sqlalchemy::sql::ClauseElement sqlalchemy::sql::_BinaryExpression sqlalchemy::sql::_CalculatedClause sqlalchemy::sql::_ColumnClause sqlalchemy::sql::_Null sqlalchemy::sql::_Function sqlalchemy::schema::Column

List of all members.


Detailed Description

represents a column element within the list of a Selectable's columns.
A ColumnElement can either be directly associated with a TableClause, or
a free-standing textual column with no table, or is a "proxy" column, indicating
it is placed on a Selectable such as an Alias or Select statement and ultimately corresponds 
to a TableClause-attached column (or in the case of a CompositeSelect, a proxy ColumnElement
may correspond to several TableClause-attached columns).

Definition at line 615 of file sql.py.


Public Member Functions

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

Public Attributes

 parens

Static Public Attributes

tuple columns = property(lambda self:[self], doc="Columns accessor which just returns self, to provide compatibility with Selectable objects.")
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 foreign_key = property(_one_fkey)
tuple foreign_keys = property(lambda self:getattr(self, '_foreign_keys', []), doc="foreign key accessor. points to a ForeignKey object which represents a Foreign Key placed on this column's ultimate ancestor.")
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 = property(lambda self:getattr(self, '_primary_key', False), doc="primary key flag. indicates if this Column represents part or whole of a primary key.")

Private Member Functions

def _get_orig_set
def _make_proxy
def _one_fkey
def _set_orig_set

Private Attributes

 __orig_set

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

Generated by  Doxygen 1.6.0   Back to index