UNPKG

@salesforce/soql-model

Version:
22 lines 752 B
"use strict"; /* * Copyright (c) 2020, salesforce.com, inc. * All rights reserved. * Licensed under the BSD 3-Clause license. * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause */ Object.defineProperty(exports, "__esModule", { value: true }); exports.LimitImpl = void 0; const soqlModelObjectImpl_1 = require("./soqlModelObjectImpl"); class LimitImpl extends soqlModelObjectImpl_1.SoqlModelObjectImpl { constructor(limit) { super(); this.limit = limit; } // eslint-disable-next-line @typescript-eslint/no-unused-vars toSoqlSyntax(options) { return `LIMIT ${this.limit}`; } } exports.LimitImpl = LimitImpl; //# sourceMappingURL=limitImpl.js.map