Class ArrayGroupModuleJson

Assembly: redb.Core.dll

The JSON arguments of the free providers' pvt_build_array_groupby_sql (PostgreSQL and SQL Server modules,
SQLite extension): keys [{field, alias}] and aggregates [{field, func, alias, filter?}], where
field may be and filter is the condition of a conditional
count in the HAVING language. One writer for the three providers.

public static class ArrayGroupModuleJson

Inheritance

Object→ArrayGroupModuleJson

Methods

Aggregations(IReadOnlyList<AggregateRequest>)

public static string? Aggregations(IReadOnlyList<AggregateRequest> aggregations)

GroupBy(IEnumerable<GroupFieldRequest>)

public static string GroupBy(IEnumerable<GroupFieldRequest> groupFields)

Param(string?)

A JSON argument or DBNull for an empty one.

public static object Param(string? json)