UNPKG

ravendb

Version:
30 lines 696 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.GroupBy = void 0; 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; } } exports.GroupBy = GroupBy; //# sourceMappingURL=GroupBy.js.map