Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/django/django
/ JSONBAgg
Class
JSONBAgg
django/contrib/postgres/aggregates/general.py:78–82 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
76
77
78
class
JSONBAgg(Aggregate):
79
function =
"JSONB_AGG"
80
allow_distinct = True
81
allow_order_by = True
82
output_field = JSONField()
83
84
85
# RemovedInDjango70Warning: When the deprecation ends, remove completely.
Callers
11
test_empty_result_set
Method · 0.90
test_default_argument
Method · 0.90
test_jsonb_agg
Method · 0.90
test_jsonb_agg_charfield_order_by
Method · 0.90
test_jsonb_agg_integerfield_order_by
Method · 0.90
test_jsonb_agg_booleanfield_order_by
Method · 0.90
test_jsonb_agg_jsonfield_order_by
Method · 0.90
test_jsonb_agg_key_index_transforms
Method · 0.90
test_values_list
Method · 0.90
test_jsonb_agg_distinct_false
Method · 0.90
test_jsonb_agg_distinct_true
Method · 0.90
Calls
1
JSONField
Class · 0.90
Tested by
11
test_empty_result_set
Method · 0.72
test_default_argument
Method · 0.72
test_jsonb_agg
Method · 0.72
test_jsonb_agg_charfield_order_by
Method · 0.72
test_jsonb_agg_integerfield_order_by
Method · 0.72
test_jsonb_agg_booleanfield_order_by
Method · 0.72
test_jsonb_agg_jsonfield_order_by
Method · 0.72
test_jsonb_agg_key_index_transforms
Method · 0.72
test_values_list
Method · 0.72
test_jsonb_agg_distinct_false
Method · 0.72
test_jsonb_agg_distinct_true
Method · 0.72