@m1212e/rumble 0.16.24 → 0.16.27
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/out/index.cjs +3 -2
- package/out/index.cjs.map +1 -1
- package/out/index.d.cts.map +1 -1
- package/out/index.d.mts.map +1 -1
- package/out/index.mjs +4 -3
- package/out/index.mjs.map +1 -1
- package/package.json +1 -1
package/out/index.cjs
CHANGED
|
@@ -218,7 +218,7 @@ function mapNullFieldsToUndefined(obj) {
|
|
|
218
218
|
|
|
219
219
|
//#endregion
|
|
220
220
|
//#region package.json
|
|
221
|
-
var version = "0.16.
|
|
221
|
+
var version = "0.16.27";
|
|
222
222
|
|
|
223
223
|
//#endregion
|
|
224
224
|
//#region lib/helpers/mergeFilters.ts
|
|
@@ -471,7 +471,8 @@ const createAbilityBuilder = ({ db, actions, defaultLimit, otel }) => {
|
|
|
471
471
|
return limit ?? void 0;
|
|
472
472
|
});
|
|
473
473
|
const sqlTransformedWhere = require_lazy.lazy(() => {
|
|
474
|
-
|
|
474
|
+
const casing = db._.session?.dialect?.casing ?? new drizzle_orm_casing.CasingCache();
|
|
475
|
+
return filters?.where ? (0, drizzle_orm.relationsFilterToSQL)(tableSchema.foundRelation.table, filters.where, tableSchema.relations, db._.relations, casing) : void 0;
|
|
475
476
|
});
|
|
476
477
|
if (filters?.columns) return {
|
|
477
478
|
query: {
|