Function jsonb_agg

Source
fn jsonb_agg(
    state: &mut JsonbArrayState,
    input: Option<impl ToJsonb>,
    ctx: &Context,
) -> Result<()>
Expand description

Collects all the input values, including nulls, into a JSON array. Values are converted to JSON as per to_jsonb.