tori.db.expression¶
-
class
tori.db.expression.Criteria¶ Expression Criteria
Support operands: =, <=, <, >, >=, in, like (SQL-like string pattern), rlike (Regular-expression pattern), indexed with (only for Riak)
-
class
tori.db.expression.Expression(left, operand, right)¶ Query Expression
Parameters: - left (tori.db.expression.ExpressionPart) – the left part
- right (tori.db.expression.ExpressionPart) – the right part
- operand (str) – the generic operand
-
class
tori.db.expression.ExpressionPart(original, kind, value, alias)¶ Query Expression
Parameters: - original (str) – the original query
- kind (str) – the type of the part
- value – the parameter value only for a data part
- alias (str) – the entity alias for a property part or the name of the parameter of a parameter part
-
class
tori.db.expression.ExpressionSet(expressions)¶ Representation of Analyzed Expression
-
exception
tori.db.expression.InvalidExpressionError¶ Generic Invalid Expression Error