Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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_sql
Method · 0.95
_get_check_sql
Method · 0.95
_get_condition_sql
Method · 0.95
test_simple_query
Method · 0.95
test_non_alias_cols_query
Method · 0.95
test_complex_query
Method · 0.95
test_multiple_fields
Method · 0.95
test_transform
Method · 0.95
test_negated_nullable
Method · 0.95
test_foreign_key
Method · 0.95
test_foreign_key_f
Method · 0.95
test_foreign_key_exclusive
Method · 0.95
Calls
1
build_filter
Method · 0.95
Tested by
13
test_simple_query
Method · 0.76
test_non_alias_cols_query
Method · 0.76
test_complex_query
Method · 0.76
test_multiple_fields
Method · 0.76
test_transform
Method · 0.76
test_negated_nullable
Method · 0.76
test_foreign_key
Method · 0.76
test_foreign_key_f
Method · 0.76
test_foreign_key_exclusive
Method · 0.76
test_iterable_lookup_value
Method · 0.76
test_filter_conditional
Method · 0.76
test_filter_conditional_join
Method · 0.76