This commit is contained in:
Benjamin Toby 2025-12-03 10:52:19 +01:00
parent c6d1ac7793
commit 4a6da06580
3 changed files with 3 additions and 3 deletions

View File

@ -102,7 +102,7 @@ function sqlGenerator({ tableName, genObject, dbFullName, count }) {
let fullTextMatchStr = (genObject === null || genObject === void 0 ? void 0 : genObject.fullTextSearch) let fullTextMatchStr = (genObject === null || genObject === void 0 ? void 0 : genObject.fullTextSearch)
? ` MATCH(${genObject.fullTextSearch.fields ? ` MATCH(${genObject.fullTextSearch.fields
.map((f) => genObject.join ? `${tableName}.${String(f)}` : `${String(f)}`) .map((f) => genObject.join ? `${tableName}.${String(f)}` : `${String(f)}`)
.join(",")}) AGAINST (?)` .join(",")}) AGAINST (? IN BOOLEAN MODE)`
: undefined; : undefined;
const fullTextSearchStr = (genObject === null || genObject === void 0 ? void 0 : genObject.fullTextSearch) const fullTextSearchStr = (genObject === null || genObject === void 0 ? void 0 : genObject.fullTextSearch)
? genObject.fullTextSearch.searchTerm ? genObject.fullTextSearch.searchTerm

View File

@ -157,7 +157,7 @@ export default function sqlGenerator<
.map((f) => .map((f) =>
genObject.join ? `${tableName}.${String(f)}` : `${String(f)}` genObject.join ? `${tableName}.${String(f)}` : `${String(f)}`
) )
.join(",")}) AGAINST (?)` .join(",")}) AGAINST (? IN BOOLEAN MODE)`
: undefined; : undefined;
const fullTextSearchStr = genObject?.fullTextSearch const fullTextSearchStr = genObject?.fullTextSearch

View File

@ -1,6 +1,6 @@
{ {
"name": "@moduletrace/datasquirel", "name": "@moduletrace/datasquirel",
"version": "5.4.8", "version": "5.4.9",
"description": "Cloud-based SQL data management tool", "description": "Cloud-based SQL data management tool",
"main": "dist/index.js", "main": "dist/index.js",
"bin": { "bin": {