MCPcopy
hub / github.com/django/django / filter

Method filter

django/db/models/query.py:1647–1653  ·  view source on GitHub ↗

Return a new QuerySet instance with the args ANDed to the existing set.

(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

1645 return self._chain()
1646
1647 def filter(self, *args, **kwargs):
1648 """
1649 Return a new QuerySet instance with the args ANDed to the existing
1650 set.
1651 """
1652 self._not_support_combined_queries("filter")
1653 return self._filter_or_exclude(False, args, kwargs)
1654
1655 def exclude(self, *args, **kwargs):
1656 """

Callers 15

getMethod · 0.95
containsMethod · 0.95
record_unappliedMethod · 0.45
refresh_from_dbMethod · 0.45
_save_tableMethod · 0.45
_do_updateMethod · 0.45
_perform_date_checksMethod · 0.45
method_set_orderFunction · 0.45
method_get_orderFunction · 0.45

Calls 2

_filter_or_excludeMethod · 0.95

Tested by

no test coverage detected