prisma-sql 1.76.0 → 1.76.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.d.mts CHANGED
@@ -258,7 +258,7 @@ declare function setRoundtripRowEquivalent(value: number): void;
258
258
  declare function setJsonRowFactor(value: number): void;
259
259
  declare function setRelationStats(stats: RelationStatsMap): void;
260
260
  declare function getRelationStats(): RelationStatsMap | undefined;
261
- declare function countIncludeDepth(includeSpec: Record<string, any>, model: Model, schemas: readonly Model[], depth?: number): number;
261
+ declare function countIncludeDepth(includeSpec: Record<string, any>, model: Model, schemas: readonly Model[], depth?: number, modelMap?: Map<string, Model>): number;
262
262
 
263
263
  declare function buildSQL(model: Model, models: Model[], method: PrismaMethod, args: Record<string, unknown>, dialect: SqlDialect): SqlResult;
264
264
  declare function createToSQL(modelsOrDmmf: Model[] | DMMF.Document, dialect: SqlDialect): (model: string, method: PrismaMethod, args?: Record<string, unknown>) => SqlResult;
package/dist/index.d.ts CHANGED
@@ -258,7 +258,7 @@ declare function setRoundtripRowEquivalent(value: number): void;
258
258
  declare function setJsonRowFactor(value: number): void;
259
259
  declare function setRelationStats(stats: RelationStatsMap): void;
260
260
  declare function getRelationStats(): RelationStatsMap | undefined;
261
- declare function countIncludeDepth(includeSpec: Record<string, any>, model: Model, schemas: readonly Model[], depth?: number): number;
261
+ declare function countIncludeDepth(includeSpec: Record<string, any>, model: Model, schemas: readonly Model[], depth?: number, modelMap?: Map<string, Model>): number;
262
262
 
263
263
  declare function buildSQL(model: Model, models: Model[], method: PrismaMethod, args: Record<string, unknown>, dialect: SqlDialect): SqlResult;
264
264
  declare function createToSQL(modelsOrDmmf: Model[] | DMMF.Document, dialect: SqlDialect): (model: string, method: PrismaMethod, args?: Record<string, unknown>) => SqlResult;