json_agg

Function json_agg 

Source
pub fn json_agg<'a>(
    expression: impl Into<Expression<'a>>,
    order_by: Option<Ordering<'a>>,
    distinct: bool,
) -> Function<'a>
Expand description

Return the given table as JSONB collection.