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

sqlalchemy::sql::_BinaryExpression Class Reference

Inheritance diagram for sqlalchemy::sql::_BinaryExpression:

sqlalchemy::sql::_BinaryClause sqlalchemy::sql::ColumnElement sqlalchemy::sql::ClauseElement sqlalchemy::sql::Selectable sqlalchemy::sql::_CompareMixin sqlalchemy::sql::ClauseElement

List of all members.


Detailed Description

represents a binary expression, which can be in a WHERE criterion or in the column list 
of a SELECT.  By adding "ColumnElement" to its inherited list, it becomes a Selectable
unit which can be placed in the column list of a SELECT.

Definition at line 1081 of file sql.py.


Public Member Functions

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

Public Attributes

 left
 operator
 parens
 right
 type

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 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.")

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

Generated by  Doxygen 1.6.0   Back to index