jsonbGroupArray function

Expression<Uint8List> jsonbGroupArray(
  1. Expression<Object> value, {
  2. OrderBy? orderBy,
  3. Expression<bool>? filter,
})

Returns a binary representation of a JSON array containing the result of evaluating value in each row of the current group.

See jsonGroupArray, the variant of this function returning a textual description, for more details and an example.

Implementation

Expression<Uint8List> jsonbGroupArray(
  Expression value, {
  OrderBy? orderBy,
  Expression<bool>? filter,
}) {
  return AggregateFunctionExpression('jsonb_group_array', [value],
      orderBy: orderBy, filter: filter);
}