equal
deleted
inserted
replaced
931 not_ = False |
931 not_ = False |
932 return self.dbms_helper.fti_restriction_sql(alias, const.eval(self._args), |
932 return self.dbms_helper.fti_restriction_sql(alias, const.eval(self._args), |
933 jointo, not_) + restriction |
933 jointo, not_) + restriction |
934 |
934 |
935 def visit_comparison(self, cmp, contextrels=None): |
935 def visit_comparison(self, cmp, contextrels=None): |
936 """generate SQL for a comparaison""" |
936 """generate SQL for a comparison""" |
937 if len(cmp.children) == 2: |
937 if len(cmp.children) == 2: |
938 # XXX occurs ? |
938 # XXX occurs ? |
939 lhs, rhs = cmp.children |
939 lhs, rhs = cmp.children |
940 else: |
940 else: |
941 lhs = None |
941 lhs = None |