bootstack.data.Condition#

class bootstack.data.Condition#

Bases: object

A filter expression. Combine with & (and), | (or), and ~ (not).

matches(row)#

Return whether row satisfies this condition (in-memory evaluation).

to_sql()#

Render to a parameterized SQL fragment: (clause, params).