pyre.db.expressions

Module Contents

class pyre.db.expressions.UnaryPostfix(operand, **kwds)

The base class for postfix unary expression factories

operand
operator
sql(self)

SQL rendering of the expression I represent

class pyre.db.expressions.IsNull

Bases: pyre.db.expressions.UnaryPostfix

A node factory that takes a field reference {op} and builds the expression {op IS NULL}

operator = IS NULL
class pyre.db.expressions.IsNotNull

Bases: pyre.db.expressions.UnaryPostfix

A node factory that takes a field reference {op} and builds the expression {op IS NOT NULL}

operator = IS NOT NULL
class pyre.db.expressions.Cast(field, targetType, **kwds)

Implementation of the {CAST} expression

sql(self, **kwds)

SQL rendering of the expression I represent

class pyre.db.expressions.Like(field, regex, **kwds)

Implementation of the LIKE operator

sql(self, **kwds)

SQL rendering of the expression I represent