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]) )
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]))
def build_expression(self, table): return get_column(table, self.column_name).is_distinct_from( bindparam(self.parameter))