@ccci/micro-server 1.0.175 → 1.0.176
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -297621,13 +297621,13 @@ function ConstructQuery(query) {
|
|
|
297621
297621
|
});
|
|
297622
297622
|
}
|
|
297623
297623
|
if (query.scan) {
|
|
297624
|
-
where2["_search"] = { [Op.match]: Sequelize.fn("
|
|
297624
|
+
where2["_search"] = { [Op.match]: Sequelize.fn("phraseto_tsquery", query.scan) };
|
|
297625
297625
|
}
|
|
297626
297626
|
options.where = where2;
|
|
297627
297627
|
}
|
|
297628
297628
|
if (!query.search && query.scan) {
|
|
297629
297629
|
let where2 = {};
|
|
297630
|
-
where2["_search"] = { [Op.match]: Sequelize.fn("
|
|
297630
|
+
where2["_search"] = { [Op.match]: Sequelize.fn("phraseto_tsquery", query.scan) };
|
|
297631
297631
|
options.where = where2;
|
|
297632
297632
|
}
|
|
297633
297633
|
if (query.paginate != "false") {
|