UNPKG

ravendb

Version:
26 lines 573 B
export class GroupBy { _field; _method; constructor() { // empty } get field() { return this._field; } get method() { return this._method; } static field(fieldName) { const groupBy = new GroupBy(); groupBy._field = fieldName; groupBy._method = "None"; return groupBy; } static array(fieldName) { const groupBy = new GroupBy(); groupBy._field = fieldName; groupBy._method = "Array"; return groupBy; } } //# sourceMappingURL=GroupBy.js.map