MCPcopy
hub / github.com/django/django / build_where

Method build_where

django/db/models/sql/query.py:1685–1686  ·  view source on GitHub ↗
(self, filter_expr)

Source from the content-addressed store, hash-verified

1683 self.demote_joins(existing_inner)
1684
1685 def build_where(self, filter_expr):
1686 return self.build_filter(filter_expr, allow_joins=False)[0]
1687
1688 def clear_where(self):
1689 self.where = WhereNode()

Callers 15

_get_condition_sqlMethod · 0.95
_get_check_sqlMethod · 0.95
_get_condition_sqlMethod · 0.95
test_simple_queryMethod · 0.95
test_complex_queryMethod · 0.95
test_multiple_fieldsMethod · 0.95
test_transformMethod · 0.95
test_negated_nullableMethod · 0.95
test_foreign_keyMethod · 0.95
test_foreign_key_fMethod · 0.95

Calls 1

build_filterMethod · 0.95

Tested by 13

test_simple_queryMethod · 0.76
test_complex_queryMethod · 0.76
test_multiple_fieldsMethod · 0.76
test_transformMethod · 0.76
test_negated_nullableMethod · 0.76
test_foreign_keyMethod · 0.76
test_foreign_key_fMethod · 0.76