@strapi/database 5.1.0 → 5.1.1
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 +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -5
package/dist/index.mjs
CHANGED
|
@@ -4190,7 +4190,7 @@ const applyWhere = (qb, where) => {
|
|
|
4190
4190
|
});
|
|
4191
4191
|
};
|
|
4192
4192
|
const fieldLowerFn = (qb) => {
|
|
4193
|
-
if (qb.client.
|
|
4193
|
+
if (qb.client.dialect === "postgresql") {
|
|
4194
4194
|
return "LOWER(CAST(?? AS VARCHAR))";
|
|
4195
4195
|
}
|
|
4196
4196
|
return "LOWER(??)";
|