Example #1
0
 def build_expression(self, table):
     assert len(self.parameter) == 2
     return get_column(table, self.column_name).between(
         bindparam(self.parameter[0]), bindparam(self.parameter[1])
     )
Example #2
0
 def build_expression(self, table):
     assert len(self.parameter) == 2
     return get_column(table, self.column_name).between(
         bindparam(self.parameter[0]), bindparam(self.parameter[1]))
Example #3
0
 def build_expression(self, table):
     return get_column(table, self.column_name).is_distinct_from(
         bindparam(self.parameter))