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)
? ` MATCH(${genObject.fullTextSearch.fields
.map((f) => genObject.join ? `${tableName}.${String(f)}` : `${String(f)}`)
.join(",")}) AGAINST (?)`
.join(",")}) AGAINST (? IN BOOLEAN MODE)`
: undefined;
const fullTextSearchStr = (genObject === null || genObject === void 0 ? void 0 : genObject.fullTextSearch)
? genObject.fullTextSearch.searchTerm

View File

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

View File

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