Method ResolveGroupedWindowColumn(string, IReadOnlyList<AggregateRequest>, IReadOnlyList<GroupFieldRequest>)

Assembly: redb.Postgres.Pro.dll

The column of the grouped subquery that a window ORDER BY or PARTITION BY of a grouped query
refers to. The core names what it wants in three ways:
"Agg_Sum_Salary" - the aggregate Sum over Salary, to be found among the selector's aggregates;
"Agg_Count_..." - Count(*), whatever follows: Agg.Count(g) has no field to name;
a member name - a part of a composite key, or "Key" for a single-field key.
What matches nothing is refused here with the reason, instead of reaching the database as a
column that does not exist.

public static string ResolveGroupedWindowColumn(string fieldPath, IReadOnlyList<AggregateRequest> aggregations, IReadOnlyList<GroupFieldRequest> groupFields)