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

Method none

haystack/query.py:323–325  ·  view source on GitHub ↗

Returns an empty result list for the query.

(self)

Source from the content-addressed store, hash-verified

321 return self._clone()
322
323 def none(self):
324 """Returns an empty result list for the query."""
325 return self._clone(klass=EmptySearchQuerySet)
326
327 def filter(self, *args, **kwargs): # noqa A003
328 """Narrows the search based on certain attributes and the default operator."""

Callers 3

test_noneMethod · 0.45
test_noneMethod · 0.45

Calls 1

_cloneMethod · 0.95

Tested by 3

test_noneMethod · 0.36
test_noneMethod · 0.36