MCPcopy Index your code
hub / github.com/django-haystack/django-haystack / combine

Method combine

haystack/backends/__init__.py:748–752  ·  view source on GitHub ↗
(self, rhs, connector=SQ.AND)

Source from the content-addressed store, hash-verified

746 return final_query
747
748 def combine(self, rhs, connector=SQ.AND):
749 if connector == SQ.AND:
750 self.add_filter(rhs.query_filter)
751 elif connector == SQ.OR:
752 self.add_filter(rhs.query_filter, use_or=True)
753
754 # Methods for backends to implement.
755

Callers 2

__and__Method · 0.80
__or__Method · 0.80

Calls 1

add_filterMethod · 0.95

Tested by

no test coverage detected