UNPKG

@sap-cloud-sdk/core

Version:
22 lines 691 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Order = void 0; /** * OData queries take this to determine the order of results. * @typeparam EntityT - */ var Order = /** @class */ (function () { /** * Creates an instance of Order. * @param _fieldName - Field to order by * @param orderType - Type of ordering, can be 'asc' for ascending or 'desc' for descending */ function Order(_fieldName, orderType) { if (orderType === void 0) { orderType = 'asc'; } this._fieldName = _fieldName; this.orderType = orderType; } return Order; }()); exports.Order = Order; //# sourceMappingURL=order.js.map