sphinxql
Version:
SphinxQL query builder for Node.JS. Supports Sphinx search(2.x and 3.x) and Manticore search
17 lines • 528 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
var sqlstring_1 = require("sqlstring");
var Expression = (function () {
function Expression(expr) {
this.expr = expr;
}
Expression.raw = function (expr) {
return new Expression(expr);
};
Expression.prototype.getExpression = function () {
return sqlstring_1.raw(this.expr).toSqlString();
};
return Expression;
}());
exports.default = Expression;
//# sourceMappingURL=Expression.js.map