UNPKG

sphinxql

Version:

SphinxQL query builder for Node.JS. Supports Sphinx search(2.x and 3.x) and Manticore search

18 lines 726 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = require("tslib"); var BaseStatement_1 = require("./BaseStatement"); var OptimizeIndexStatement = (function (_super) { tslib_1.__extends(OptimizeIndexStatement, _super); function OptimizeIndexStatement(connection, index) { var _this = _super.call(this, connection) || this; _this.index = index; return _this; } OptimizeIndexStatement.prototype.generate = function () { return "OPTIMIZE INDEX " + this.index; }; return OptimizeIndexStatement; }(BaseStatement_1.default)); exports.default = OptimizeIndexStatement; //# sourceMappingURL=OptimizeIndexStatement.js.map