s.expr : module documentation

Part of storm

No module docstring
Class Compile Compiler based on the concept of generic functions.
Class CompilePython Undocumented
Class State All the data necessary during compilation of an expression.
Class Context An object used to specify the nature of expected SQL expressions
Function compile_str Undocumented
Function compile_unicode Undocumented
Function compile_int Undocumented
Function compile_float Undocumented
Function compile_decimal Undocumented
Function compile_bool Undocumented
Function compile_datetime Undocumented
Function compile_date Undocumented
Function compile_time Undocumented
Function compile_timedelta Undocumented
Function compile_none Undocumented
Function compile_python_builtin Undocumented
Function compile_python_bool_and_dates Undocumented
Function compile_variable Undocumented
Function compile_python_variable Undocumented
Class Expr Undocumented
Function compile_python_unsupported Undocumented
Class Comparable Undocumented
Class ComparableExpr Undocumented
Class BinaryExpr Undocumented
Class CompoundExpr Undocumented
Function has_tables Undocumented
Function build_tables Compile provided tables.
Class Select Undocumented
Function compile_select Undocumented
Class Insert Expression representing an insert statement.
Function compile_insert Undocumented
Class Update Undocumented
Function compile_update Undocumented
Class Delete Undocumented
Function compile_delete Undocumented
Class Column Representation of a column in some table.
Function compile_column Undocumented
Function compile_python_column Undocumented
Class Alias A representation of "AS" alias clauses. e.g., SELECT foo AS bar.
Function compile_alias Undocumented
Class FromExpr Undocumented
Class Table Undocumented
Function compile_table Undocumented
Class JoinExpr Undocumented
Function compile_join Undocumented
Class Join Undocumented
Class LeftJoin Undocumented
Class RightJoin Undocumented
Class NaturalJoin Undocumented
Class NaturalLeftJoin Undocumented
Class NaturalRightJoin Undocumented
Class BinaryOper Undocumented
Function compile_binary_oper Undocumented
Class NonAssocBinaryOper Undocumented
Function compile_non_assoc_binary_oper Undocumented
Class CompoundOper Undocumented
Function compile_compound_oper 0 Undocumented
Function compile_compound_oper 1 Undocumented
Class Eq Undocumented
Function compile_eq 0 Undocumented
Function compile_eq Undocumented
Class Ne Undocumented
Function compile_ne Undocumented
Class Gt Undocumented
Class Ge Undocumented
Class Lt Undocumented
Class Le Undocumented
Class RShift Undocumented
Class LShift Undocumented
Class Like Undocumented
Function compile_like Undocumented
Class In Undocumented
Function compile_in 0 Undocumented
Function compile_in Undocumented
Class Add Undocumented
Class Sub Undocumented
Class Mul Undocumented
Class Div Undocumented
Class Mod Undocumented
Class And Undocumented
Class Or Undocumented
Function compile_compound_oper Undocumented
Class SetExpr Undocumented
Function compile_set_expr Undocumented
Class Union Undocumented
Class Except Undocumented
Class Intersect Undocumented
Class FuncExpr Undocumented
Class Count Undocumented
Function compile_count Undocumented
Class Func Undocumented
Class NamedFunc Undocumented
Function compile_func Undocumented
Class Max Undocumented
Class Min Undocumented
Class Avg Undocumented
Class Sum Undocumented
Class Lower Undocumented
Class Upper Undocumented
Class Coalesce Undocumented
Class Cast A representation of CAST clauses. e.g., CAST(bar AS TEXT).
Function compile_cast Compile Cast expressions.
Class PrefixExpr Undocumented
Function compile_prefix_expr Undocumented
Class SuffixExpr Undocumented
Function compile_suffix_expr Undocumented
Class Not Undocumented
Class Exists Undocumented
Class Neg Undocumented
Function compile_neg_expr Undocumented
Class Asc Undocumented
Class Desc Undocumented
Class SQLRaw Subtype to mark a string as something that shouldn't be compiled.
Class SQLToken Marker for strings that should be considered as a single SQL token.
Function compile_sql_token Undocumented
Function compile_python_sql_token Undocumented
Class SQL Undocumented
Function compile_sql Undocumented
Class Sequence Expression representing auto-incrementing support from the database.
Function compare_columns Undocumented
Class AutoTables This class will inject one or more entries in state.auto_tables.
Function compile_auto_tables Undocumented
Function _when Check Compile.when. Defined here to ease the work of cextensions.
def _when(self, types):
Check Compile.when. Defined here to ease the work of cextensions.
@compile.when(str)
def compile_str(compile, expr, state):
Undocumented
@compile.when(unicode)
def compile_unicode(compile, expr, state):
Undocumented
@compile.when(int, long)
def compile_int(compile, expr, state):
Undocumented
@compile.when(float)
def compile_float(compile, expr, state):
Undocumented
@compile.when(Decimal)
def compile_decimal(compile, expr, state):
Undocumented
@compile.when(bool)
def compile_bool(compile, expr, state):
Undocumented
@compile.when(datetime)
def compile_datetime(compile, expr, state):
Undocumented
@compile.when(date)
def compile_date(compile, expr, state):
Undocumented
@compile.when(time)
def compile_time(compile, expr, state):
Undocumented
@compile.when(timedelta)
def compile_timedelta(compile, expr, state):
Undocumented
@compile.when(type(None))
def compile_none(compile, expr, state):
Undocumented
@compile_python.when(str, unicode, int, long, float, type(None))
def compile_python_builtin(compile, expr, state):
Undocumented
@compile_python.when(bool, datetime, date, time, timedelta)
def compile_python_bool_and_dates(compile, expr, state):
Undocumented
@compile.when(Variable)
def compile_variable(compile, variable, state):
Undocumented
@compile_python.when(Variable)
def compile_python_variable(compile, variable, state):
Undocumented
@compile_python.when(Expr)
def compile_python_unsupported(compile, expr, state):
Undocumented
def has_tables(state, expr):
Undocumented
def build_tables(compile, tables, default_tables, state):
Compile provided tables.

Tables will be built from either tables, state.auto_tables, or default_tables. If tables is not Undef, it will be used. If tables is Undef and state.auto_tables is available, that's used instead. If neither tables nor state.auto_tables are available, default_tables is tried as a last resort. If none of them are available, NoTableError is raised.

@compile.when(Select)
def compile_select(compile, select, state):
Undocumented
@compile.when(Insert)
def compile_insert(compile, insert, state):
Undocumented
@compile.when(Update)
def compile_update(compile, update, state):
Undocumented
@compile.when(Delete)
def compile_delete(compile, delete, state):
Undocumented
@compile.when(Column)
def compile_column(compile, column, state):
Undocumented
@compile_python.when(Column)
def compile_python_column(compile, column, state):
Undocumented
@compile.when(Alias)
def compile_alias(compile, alias, state):
Undocumented
@compile.when(Table)
def compile_table(compile, table, state):
Undocumented
@compile.when(JoinExpr)
def compile_join(compile, join, state):
Undocumented
@compile.when(BinaryOper)
@compile_python.when(BinaryOper)
def compile_binary_oper(compile, expr, state):
Undocumented
@compile.when(NonAssocBinaryOper)
@compile_python.when(NonAssocBinaryOper)
def compile_non_assoc_binary_oper(compile, expr, state):
Undocumented
@compile.when(CompoundOper)
def compile_compound_oper 0(compile, expr, state):
Undocumented
@compile_python.when(CompoundOper)
def compile_compound_oper 1(compile, expr, state):
Undocumented
@compile.when(Eq)
def compile_eq 0(compile, eq, state):
Undocumented
@compile_python.when(Eq)
def compile_eq(compile, eq, state):
Undocumented
@compile.when(Ne)
def compile_ne(compile, ne, state):
Undocumented
@compile.when(Like)
def compile_like(compile, like, state, oper=None):
Undocumented
@compile.when(In)
def compile_in 0(compile, expr, state):
Undocumented
@compile_python.when(In)
def compile_in(compile, expr, state):
Undocumented
@compile.when(And, Or)
def compile_compound_oper(compile, expr, state):
Undocumented
@compile.when(SetExpr)
def compile_set_expr(compile, expr, state):
Undocumented
@compile.when(Count)
def compile_count(compile, count, state):
Undocumented
@compile.when(Func, NamedFunc)
def compile_func(compile, func, state):
Undocumented
@compile.when(Cast)
def compile_cast(compile, cast, state):
Compile Cast expressions.
@compile.when(PrefixExpr)
def compile_prefix_expr(compile, expr, state):
Undocumented
@compile.when(SuffixExpr)
def compile_suffix_expr(compile, expr, state):
Undocumented
@compile_python.when(Neg)
def compile_neg_expr(compile, expr, state):
Undocumented
@compile.when(SQLToken)
def compile_sql_token(compile, expr, state):
Undocumented
@compile_python.when(SQLToken)
def compile_python_sql_token(compile, expr, state):
Undocumented
@compile.when(SQL)
def compile_sql(compile, expr, state):
Undocumented
def compare_columns(columns, values):
Undocumented
@compile.when(AutoTables)
def compile_auto_tables(compile, expr, state):
Undocumented
API Documentation for storm, generated by pydoctor at 2011-03-15 08:53:51.