prisma-sql 1.66.0 → 1.66.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/generator.js CHANGED
@@ -6469,7 +6469,6 @@ var init_streaming_progressive_reducer = __esm({
6469
6469
  var init_streaming_where_in_executor = __esm({
6470
6470
  "src/builder/select/streaming-where-in-executor.ts"() {
6471
6471
  init_primary_key_utils();
6472
- init_where_in_executor_base();
6473
6472
  init_src();
6474
6473
  init_reducer();
6475
6474
  }
@@ -8746,7 +8745,7 @@ var require_package = __commonJS({
8746
8745
  "package.json"(exports$1, module) {
8747
8746
  module.exports = {
8748
8747
  name: "prisma-sql",
8749
- version: "1.66.0",
8748
+ version: "1.66.1",
8750
8749
  description: "Convert Prisma queries to optimized SQL with type safety. 2-7x faster than Prisma Client.",
8751
8750
  main: "dist/index.cjs",
8752
8751
  module: "dist/index.js",
@@ -10158,25 +10157,25 @@ function generateExtension(runtimeImportPath) {
10158
10157
  },
10159
10158
  model: {
10160
10159
  $allModels: {
10161
- async findMany(args: any) {
10160
+ async findMany(this: ModelContext, args: any) {
10162
10161
  return handleMethod.call(this, 'findMany', args)
10163
10162
  },
10164
- async findFirst(args: any) {
10163
+ async findFirst(this: ModelContext, args: any) {
10165
10164
  return handleMethod.call(this, 'findFirst', args)
10166
10165
  },
10167
- async findUnique(args: any) {
10166
+ async findUnique(this: ModelContext, args: any) {
10168
10167
  return handleMethod.call(this, 'findUnique', args)
10169
10168
  },
10170
- async count(args: any) {
10169
+ async count(this: ModelContext, args: any) {
10171
10170
  return handleMethod.call(this, 'count', args)
10172
10171
  },
10173
- async aggregate(args: any) {
10172
+ async aggregate(this: ModelContext, args: any) {
10174
10173
  return handleMethod.call(this, 'aggregate', args)
10175
10174
  },
10176
- async groupBy(args: any) {
10175
+ async groupBy(this: ModelContext, args: any) {
10177
10176
  return handleMethod.call(this, 'groupBy', args)
10178
10177
  },
10179
- findManyStream(args?: any): AsyncIterableIterator<any> {
10178
+ findManyStream(this: ModelContext, args?: any): AsyncIterableIterator<any> {
10180
10179
  return findManyStream.call(this, args)
10181
10180
  },
10182
10181
  },