UNPKG

@thinql/to-knex

Version:

Build SQL queries from ThinQL ASTs with Knex.js

20 lines (17 loc) 466 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; const processFullTextSearch = (fullTextSearchNode, builder, options) => { const { fullTextSearch } = options; const { value } = fullTextSearchNode; builder.addGroup(nextBuilder => fullTextSearch(nextBuilder.knexBuilder, value)); }; var _default = processFullTextSearch; exports.default = _default; //# sourceMappingURL=fullTextSearch.js.map