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

Method __or__

haystack/query.py:105–110  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

103 return combined
104
105 def __or__(self, other):
106 combined = self._clone()
107 if isinstance(other, EmptySearchQuerySet):
108 return combined
109 combined.query.combine(other.query, SQ.OR)
110 return combined
111
112 def _cache_is_full(self):
113 if not self.query.has_run():

Callers

nothing calls this directly

Calls 2

_cloneMethod · 0.95
combineMethod · 0.80

Tested by

no test coverage detected