@odata2ts/odata-query-objects
Version:
Q-Objects are the magic sauce for the odata-query-builder and allow for renaming and type conversion
16 lines • 487 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.QOrderByExpression = void 0;
class QOrderByExpression {
constructor(expression) {
this.expression = expression;
if (!expression || !expression.trim()) {
throw new Error("Expression must be supplied!");
}
}
toString() {
return this.expression;
}
}
exports.QOrderByExpression = QOrderByExpression;
//# sourceMappingURL=QOrderByExpression.js.map