UNPKG

sphinxql

Version:

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

17 lines 603 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var SelectExprStatement = (function () { function SelectExprStatement() { var fields = []; for (var _i = 0; _i < arguments.length; _i++) { fields[_i] = arguments[_i]; } this.fieldsExpr = fields; } SelectExprStatement.prototype.build = function () { return this.fieldsExpr.length ? this.fieldsExpr.join(', ') : '*'; }; return SelectExprStatement; }()); exports.default = SelectExprStatement; //# sourceMappingURL=SelectExprStatement.js.map