prisma 6.2.0-dev.1 → 6.2.0-dev.10

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.
Binary file
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "6.2.0-dev.1",
2
+ "version": "6.2.0-dev.10",
3
3
  "name": "prisma",
4
4
  "description": "Prisma is an open-source database toolkit. It includes a JavaScript/TypeScript ORM for Node.js, migrations and a modern GUI to view and edit the data in your database. You can use Prisma in new projects or add it to an existing one.",
5
5
  "keywords": [
@@ -41,7 +41,7 @@
41
41
  "node": ">=18.18"
42
42
  },
43
43
  "prisma": {
44
- "prismaCommit": "ace7c10732030bfb8c254b9702028aa4fa2763be"
44
+ "prismaCommit": "477375cf0fd55f2dfe213e2c33cc9ee586b83497"
45
45
  },
46
46
  "files": [
47
47
  "README.md",
@@ -107,16 +107,16 @@
107
107
  "typescript": "5.4.5",
108
108
  "xdg-app-paths": "8.3.0",
109
109
  "zx": "7.2.3",
110
- "@prisma/client": "6.2.0-dev.1",
111
- "@prisma/fetch-engine": "6.2.0-dev.1",
112
- "@prisma/generator-helper": "6.2.0-dev.1",
113
- "@prisma/get-platform": "6.2.0-dev.1",
114
- "@prisma/debug": "6.2.0-dev.1",
115
- "@prisma/internals": "6.2.0-dev.1",
116
- "@prisma/migrate": "6.2.0-dev.1"
110
+ "@prisma/client": "6.2.0-dev.10",
111
+ "@prisma/fetch-engine": "6.2.0-dev.10",
112
+ "@prisma/debug": "6.2.0-dev.10",
113
+ "@prisma/generator-helper": "6.2.0-dev.10",
114
+ "@prisma/get-platform": "6.2.0-dev.10",
115
+ "@prisma/internals": "6.2.0-dev.10",
116
+ "@prisma/migrate": "6.2.0-dev.10"
117
117
  },
118
118
  "dependencies": {
119
- "@prisma/engines": "6.2.0-dev.1"
119
+ "@prisma/engines": "6.2.0-dev.10"
120
120
  },
121
121
  "optionalDependencies": {
122
122
  "fsevents": "2.3.3"
@@ -33,18 +33,18 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
33
33
  ));
34
34
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
35
35
 
36
- // ../../node_modules/.pnpm/@prisma+engines-version@6.1.0-21.11f085a2012c0f4778414c8db2651556ee0ef959/node_modules/@prisma/engines-version/package.json
36
+ // ../../node_modules/.pnpm/@prisma+engines-version@6.2.0-11.c49e56c20818c325095752dd0ae895b0dc7bad9f/node_modules/@prisma/engines-version/package.json
37
37
  var require_package = __commonJS({
38
- "../../node_modules/.pnpm/@prisma+engines-version@6.1.0-21.11f085a2012c0f4778414c8db2651556ee0ef959/node_modules/@prisma/engines-version/package.json"(exports2, module2) {
38
+ "../../node_modules/.pnpm/@prisma+engines-version@6.2.0-11.c49e56c20818c325095752dd0ae895b0dc7bad9f/node_modules/@prisma/engines-version/package.json"(exports2, module2) {
39
39
  module2.exports = {
40
40
  name: "@prisma/engines-version",
41
- version: "6.1.0-21.11f085a2012c0f4778414c8db2651556ee0ef959",
41
+ version: "6.2.0-11.c49e56c20818c325095752dd0ae895b0dc7bad9f",
42
42
  main: "index.js",
43
43
  types: "index.d.ts",
44
44
  license: "Apache-2.0",
45
45
  author: "Tim Suchanek <suchanek@prisma.io>",
46
46
  prisma: {
47
- enginesVersion: "11f085a2012c0f4778414c8db2651556ee0ef959"
47
+ enginesVersion: "c49e56c20818c325095752dd0ae895b0dc7bad9f"
48
48
  },
49
49
  repository: {
50
50
  type: "git",
@@ -52,7 +52,7 @@ var require_package = __commonJS({
52
52
  directory: "packages/engines-version"
53
53
  },
54
54
  devDependencies: {
55
- "@types/node": "18.19.67",
55
+ "@types/node": "18.19.68",
56
56
  typescript: "4.9.5"
57
57
  },
58
58
  files: [
@@ -66,9 +66,9 @@ var require_package = __commonJS({
66
66
  }
67
67
  });
68
68
 
69
- // ../../node_modules/.pnpm/@prisma+engines-version@6.1.0-21.11f085a2012c0f4778414c8db2651556ee0ef959/node_modules/@prisma/engines-version/index.js
69
+ // ../../node_modules/.pnpm/@prisma+engines-version@6.2.0-11.c49e56c20818c325095752dd0ae895b0dc7bad9f/node_modules/@prisma/engines-version/index.js
70
70
  var require_engines_version = __commonJS({
71
- "../../node_modules/.pnpm/@prisma+engines-version@6.1.0-21.11f085a2012c0f4778414c8db2651556ee0ef959/node_modules/@prisma/engines-version/index.js"(exports2) {
71
+ "../../node_modules/.pnpm/@prisma+engines-version@6.2.0-11.c49e56c20818c325095752dd0ae895b0dc7bad9f/node_modules/@prisma/engines-version/index.js"(exports2) {
72
72
  "use strict";
73
73
  Object.defineProperty(exports2, "__esModule", { value: true });
74
74
  exports2.enginesVersion = void 0;
@@ -3946,7 +3946,7 @@ var require_package2 = __commonJS({
3946
3946
  "package.json"(exports2, module2) {
3947
3947
  module2.exports = {
3948
3948
  name: "@prisma/client",
3949
- version: "6.2.0-dev.1",
3949
+ version: "6.2.0-dev.10",
3950
3950
  description: "Prisma Client is an auto-generated, type-safe and modern JavaScript/TypeScript ORM for Node.js that's tailored to your data. Supports PostgreSQL, CockroachDB, MySQL, MariaDB, SQL Server, SQLite & MongoDB databases.",
3951
3951
  keywords: [
3952
3952
  "ORM",
@@ -4145,7 +4145,7 @@ var require_package2 = __commonJS({
4145
4145
  "@prisma/debug": "workspace:*",
4146
4146
  "@prisma/driver-adapter-utils": "workspace:*",
4147
4147
  "@prisma/engines": "workspace:*",
4148
- "@prisma/engines-version": "6.1.0-21.11f085a2012c0f4778414c8db2651556ee0ef959",
4148
+ "@prisma/engines-version": "6.2.0-11.c49e56c20818c325095752dd0ae895b0dc7bad9f",
4149
4149
  "@prisma/fetch-engine": "workspace:*",
4150
4150
  "@prisma/generator-helper": "workspace:*",
4151
4151
  "@prisma/get-platform": "workspace:*",
@@ -4154,7 +4154,7 @@ var require_package2 = __commonJS({
4154
4154
  "@prisma/migrate": "workspace:*",
4155
4155
  "@prisma/mini-proxy": "0.9.5",
4156
4156
  "@prisma/pg-worker": "workspace:*",
4157
- "@prisma/query-engine-wasm": "6.1.0-21.11f085a2012c0f4778414c8db2651556ee0ef959",
4157
+ "@prisma/query-engine-wasm": "6.2.0-11.c49e56c20818c325095752dd0ae895b0dc7bad9f",
4158
4158
  "@snaplet/copycat": "0.17.3",
4159
4159
  "@swc-node/register": "1.10.9",
4160
4160
  "@swc/core": "1.10.1",
@@ -5055,6 +5055,7 @@ var DMMF;
5055
5055
  ModelAction2["createManyAndReturn"] = "createManyAndReturn";
5056
5056
  ModelAction2["update"] = "update";
5057
5057
  ModelAction2["updateMany"] = "updateMany";
5058
+ ModelAction2["updateManyAndReturn"] = "updateManyAndReturn";
5058
5059
  ModelAction2["upsert"] = "upsert";
5059
5060
  ModelAction2["delete"] = "delete";
5060
5061
  ModelAction2["deleteMany"] = "deleteMany";
@@ -5439,6 +5440,7 @@ function getMappings(mappings, datamodel) {
5439
5440
  update: mapping.updateOne || mapping.updateSingle || mapping.update,
5440
5441
  deleteMany: mapping.deleteMany,
5441
5442
  updateMany: mapping.updateMany,
5443
+ updateManyAndReturn: mapping.updateManyAndReturn,
5442
5444
  upsert: mapping.upsertOne || mapping.upsertSingle || mapping.upsert,
5443
5445
  aggregate: mapping.aggregate,
5444
5446
  groupBy: mapping.groupBy,
@@ -6589,15 +6591,24 @@ function getSelectName(modelName) {
6589
6591
  function getSelectCreateManyAndReturnName(modelName) {
6590
6592
  return `${modelName}SelectCreateManyAndReturn`;
6591
6593
  }
6594
+ function getSelectUpdateManyAndReturnName(modelName) {
6595
+ return `${modelName}SelectUpdateManyAndReturn`;
6596
+ }
6592
6597
  function getIncludeName(modelName) {
6593
6598
  return `${modelName}Include`;
6594
6599
  }
6595
6600
  function getIncludeCreateManyAndReturnName(modelName) {
6596
6601
  return `${modelName}IncludeCreateManyAndReturn`;
6597
6602
  }
6603
+ function getIncludeUpdateManyAndReturnName(modelName) {
6604
+ return `${modelName}IncludeUpdateManyAndReturn`;
6605
+ }
6598
6606
  function getCreateManyAndReturnOutputType(modelName) {
6599
6607
  return `CreateMany${modelName}AndReturnOutputType`;
6600
6608
  }
6609
+ function getUpdateManyAndReturnOutputType(modelName) {
6610
+ return `UpdateMany${modelName}AndReturnOutputType`;
6611
+ }
6601
6612
  function getOmitName(modelName) {
6602
6613
  return `${modelName}Omit`;
6603
6614
  }
@@ -6670,6 +6681,8 @@ function getModelArgName(modelName, action) {
6670
6681
  return `${modelName}UpdateArgs`;
6671
6682
  case DMMF.ModelAction.updateMany:
6672
6683
  return `${modelName}UpdateManyArgs`;
6684
+ case DMMF.ModelAction.updateManyAndReturn:
6685
+ return `${modelName}UpdateManyAndReturnArgs`;
6673
6686
  case DMMF.ModelAction.delete:
6674
6687
  return `${modelName}DeleteArgs`;
6675
6688
  case DMMF.ModelAction.create:
@@ -7001,7 +7014,7 @@ const ${lowerCase(ctx.mapping.model)} = await ${ctx.method}({
7001
7014
  body: (ctx) => {
7002
7015
  const onlySelect = ctx.firstScalar ? `
7003
7016
  // Create many ${ctx.plural} and only return the \`${ctx.firstScalar.name}\`
7004
- const ${lowerCase(ctx.mapping.model)}With${capitalize(ctx.firstScalar.name)}Only = await ${ctx.method}({
7017
+ const ${lowerCase(ctx.mapping.model)}With${capitalize(ctx.firstScalar.name)}Only = await ${ctx.method}({
7005
7018
  select: { ${ctx.firstScalar.name}: true },
7006
7019
  data: [
7007
7020
  // ... provide data here
@@ -7039,7 +7052,7 @@ const ${lowerCase(ctx.mapping.model)} = await ${ctx.method}({
7039
7052
  }
7040
7053
  },
7041
7054
  findUniqueOrThrow: {
7042
- body: (ctx) => `Find one ${ctx.singular} that matches the filter or throw an error with \`error.code='P2025'\`
7055
+ body: (ctx) => `Find one ${ctx.singular} that matches the filter or throw an error with \`error.code='P2025'\`
7043
7056
  if no matches were found.
7044
7057
  @param {${getModelArgName(ctx.model.name, ctx.action)}} args - Arguments to find a ${ctx.singular}
7045
7058
  @example
@@ -7251,6 +7264,40 @@ const ${lowerCase(ctx.mapping.model)} = await ${ctx.method}({
7251
7264
  where: (singular, plural) => `Filter which ${plural} to update`
7252
7265
  }
7253
7266
  },
7267
+ updateManyAndReturn: {
7268
+ body: (ctx) => {
7269
+ const onlySelect = ctx.firstScalar ? `
7270
+ // Update zero or more ${ctx.plural} and only return the \`${ctx.firstScalar.name}\`
7271
+ const ${lowerCase(ctx.mapping.model)}With${capitalize(ctx.firstScalar.name)}Only = await ${ctx.method}({
7272
+ select: { ${ctx.firstScalar.name}: true },
7273
+ where: {
7274
+ // ... provide filter here
7275
+ },
7276
+ data: [
7277
+ // ... provide data here
7278
+ ]
7279
+ })` : "";
7280
+ return `Update zero or more ${ctx.plural} and returns the data updated in the database.
7281
+ @param {${getModelArgName(ctx.model.name, ctx.action)}} args - Arguments to update many ${ctx.plural}.
7282
+ @example
7283
+ // Update many ${ctx.plural}
7284
+ const ${lowerCase(ctx.mapping.model)} = await ${ctx.method}({
7285
+ where: {
7286
+ // ... provide filter here
7287
+ },
7288
+ data: [
7289
+ // ... provide data here
7290
+ ]
7291
+ })
7292
+ ${onlySelect}
7293
+ ${undefinedNote}
7294
+ `;
7295
+ },
7296
+ fields: {
7297
+ data: (singular, plural) => `The data used to update ${plural}.`,
7298
+ where: (singular, plural) => `Filter which ${plural} to update`
7299
+ }
7300
+ },
7254
7301
  deleteMany: {
7255
7302
  body: (ctx) => `Delete zero or more ${ctx.plural}.
7256
7303
  @param {${getModelArgName(ctx.model.name, ctx.action)}} args - Arguments to filter ${ctx.plural} to delete.
@@ -7286,7 +7333,7 @@ const ${lowerCase(ctx.mapping.model)} = await ${ctx.method}({
7286
7333
  @param {${getModelArgName(ctx.model.name, ctx.action)}} args - Select which filters you would like to apply.
7287
7334
  @example
7288
7335
  const ${lowerCase(ctx.mapping.model)} = await ${ctx.method}({
7289
- filter: { age: { $gt: 25 } }
7336
+ filter: { age: { $gt: 25 } }
7290
7337
  })`,
7291
7338
  fields: {
7292
7339
  filter: () => "The query predicate filter. If unspecified, then all documents in the collection will match the predicate. ${@link https://docs.mongodb.com/manual/reference/operator/query MongoDB Docs}.",
@@ -7614,6 +7661,7 @@ var Model = class {
7614
7661
  this.dmmf = context.dmmf;
7615
7662
  this.type = this.context.dmmf.outputTypeMap.model[model.name];
7616
7663
  this.createManyAndReturnType = this.context.dmmf.outputTypeMap.model[getCreateManyAndReturnOutputType(model.name)];
7664
+ this.updateManyAndReturnType = this.context.dmmf.outputTypeMap.model[getUpdateManyAndReturnOutputType(model.name)];
7617
7665
  this.mapping = this.context.dmmf.mappings.modelOperations.find((m) => m.model === model.name);
7618
7666
  }
7619
7667
  get argsTypes() {
@@ -7640,6 +7688,15 @@ var Model = class {
7640
7688
  );
7641
7689
  }
7642
7690
  argsTypes.push(args.createExport());
7691
+ } else if (action === "updateManyAndReturn") {
7692
+ const args = new ArgsTypeBuilder(this.type, this.context, action).addSelectArg(getSelectUpdateManyAndReturnName(this.type.name)).addOmitArg().addSchemaArgs(field.args);
7693
+ if (this.updateManyAndReturnType) {
7694
+ args.addIncludeArgIfHasRelations(
7695
+ getIncludeUpdateManyAndReturnName(this.model.name),
7696
+ this.updateManyAndReturnType
7697
+ );
7698
+ }
7699
+ argsTypes.push(args.createExport());
7643
7700
  } else if (action !== "groupBy" && action !== "aggregate") {
7644
7701
  argsTypes.push(
7645
7702
  new ArgsTypeBuilder(this.type, this.context, action).addSelectArg().addOmitArg().addIncludeArgIfHasRelations().addSchemaArgs(field.args).createExport()
@@ -7841,6 +7898,17 @@ export type ${getAggregateGetName(model.name)}<T extends ${getAggregateArgsName(
7841
7898
  newLine: "leading"
7842
7899
  }
7843
7900
  ) : "";
7901
+ const updateManyAndReturnIncludeType = hasRelationField && this.updateManyAndReturnType ? stringify(
7902
+ buildIncludeType({
7903
+ typeName: getIncludeUpdateManyAndReturnName(this.model.name),
7904
+ modelName: this.model.name,
7905
+ context: this.context,
7906
+ fields: this.updateManyAndReturnType.fields
7907
+ }),
7908
+ {
7909
+ newLine: "leading"
7910
+ }
7911
+ ) : "";
7844
7912
  return `
7845
7913
  /**
7846
7914
  * Model ${model.name}
@@ -7860,10 +7928,19 @@ ${this.createManyAndReturnType ? stringify(
7860
7928
  }),
7861
7929
  { newLine: "leading" }
7862
7930
  ) : ""}
7931
+ ${this.updateManyAndReturnType ? stringify(
7932
+ buildSelectType({
7933
+ modelName: this.model.name,
7934
+ fields: this.updateManyAndReturnType.fields,
7935
+ context: this.context,
7936
+ typeName: getSelectUpdateManyAndReturnName(this.model.name)
7937
+ }),
7938
+ { newLine: "leading" }
7939
+ ) : ""}
7863
7940
  ${stringify(buildScalarSelectType({ modelName: this.model.name, fields: this.type.fields, context: this.context }), {
7864
7941
  newLine: "leading"
7865
7942
  })}
7866
- ${omitType}${includeType}${createManyAndReturnIncludeType}
7943
+ ${omitType}${includeType}${createManyAndReturnIncludeType}${updateManyAndReturnIncludeType}
7867
7944
 
7868
7945
  ${stringify(buildModelPayload(this.model, this.context), { newLine: "none" })}
7869
7946
 
@@ -7917,7 +7994,7 @@ var ModelDelegate = class {
7917
7994
  excludedArgsForCount.push("relationLoadStrategy");
7918
7995
  }
7919
7996
  const excludedArgsForCountType = excludedArgsForCount.map((name2) => `'${name2}'`).join(" | ");
7920
- return `${availableActions.includes(DMMF.ModelAction.aggregate) ? `type ${countArgsName}<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
7997
+ return `${availableActions.includes(DMMF.ModelAction.aggregate) ? `type ${countArgsName}<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
7921
7998
  Omit<${getModelArgName(name, DMMF.ModelAction.findMany)}, ${excludedArgsForCountType}> & {
7922
7999
  select?: ${getCountAggregateInputName(name)} | true
7923
8000
  }
@@ -8077,7 +8154,7 @@ function getReturnType({
8077
8154
  if (actionName === DMMF.ModelAction.deleteMany || actionName === DMMF.ModelAction.updateMany || actionName === DMMF.ModelAction.createMany) {
8078
8155
  return prismaPromise(namedType("BatchPayload"));
8079
8156
  }
8080
- const isList = actionName === DMMF.ModelAction.findMany || actionName === DMMF.ModelAction.createManyAndReturn;
8157
+ const isList = actionName === DMMF.ModelAction.findMany || actionName === DMMF.ModelAction.createManyAndReturn || actionName === DMMF.ModelAction.updateManyAndReturn;
8081
8158
  if (isList) {
8082
8159
  let result = getResultType(modelName, actionName, context);
8083
8160
  if (isChaining) {
@@ -9385,6 +9462,7 @@ function clientTypeMapModelsResultDefinition(modelName, action) {
9385
9462
  if (action === "createMany") return namedType("BatchPayload");
9386
9463
  if (action === "createManyAndReturn") return array(payloadToResult(modelName));
9387
9464
  if (action === "updateMany") return namedType("BatchPayload");
9465
+ if (action === "updateManyAndReturn") return array(payloadToResult(modelName));
9388
9466
  if (action === "findMany") return array(payloadToResult(modelName));
9389
9467
  if (action === "findFirst") return unionType([payloadToResult(modelName), nullType]);
9390
9468
  if (action === "findUnique") return unionType([payloadToResult(modelName), nullType]);
@@ -9506,7 +9584,7 @@ function queryRawDefinition(context) {
9506
9584
  * \`\`\`
9507
9585
  * const result = await prisma.$queryRaw\`SELECT * FROM User WHERE id = \${1} OR email = \${'user@email.com'};\`
9508
9586
  * \`\`\`
9509
- *
9587
+ *
9510
9588
  * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/raw-database-access).
9511
9589
  */
9512
9590
  $queryRaw<T = unknown>(query: TemplateStringsArray | Prisma.Sql, ...values: any[]): Prisma.PrismaPromise<T>;
@@ -9518,7 +9596,7 @@ function queryRawDefinition(context) {
9518
9596
  * \`\`\`
9519
9597
  * const result = await prisma.$queryRawUnsafe('SELECT * FROM User WHERE id = $1 OR email = $2;', 1, 'user@email.com')
9520
9598
  * \`\`\`
9521
- *
9599
+ *
9522
9600
  * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/raw-database-access).
9523
9601
  */
9524
9602
  $queryRawUnsafe<T = unknown>(query: string, ...values: any[]): Prisma.PrismaPromise<T>;`;
@@ -9534,7 +9612,7 @@ function executeRawDefinition(context) {
9534
9612
  * \`\`\`
9535
9613
  * const result = await prisma.$executeRaw\`UPDATE User SET cool = \${true} WHERE email = \${'user@email.com'};\`
9536
9614
  * \`\`\`
9537
- *
9615
+ *
9538
9616
  * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/raw-database-access).
9539
9617
  */
9540
9618
  $executeRaw<T = unknown>(query: TemplateStringsArray | Prisma.Sql, ...values: any[]): Prisma.PrismaPromise<number>;
@@ -9546,7 +9624,7 @@ function executeRawDefinition(context) {
9546
9624
  * \`\`\`
9547
9625
  * const result = await prisma.$executeRawUnsafe('UPDATE User SET cool = $1 WHERE email = $2 ;', true, 'user@email.com')
9548
9626
  * \`\`\`
9549
- *
9627
+ *
9550
9628
  * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/raw-database-access).
9551
9629
  */
9552
9630
  $executeRawUnsafe<T = unknown>(query: string, ...values: any[]): Prisma.PrismaPromise<number>;`;
@@ -9584,7 +9662,7 @@ function metricDefinition(context) {
9584
9662
  const property2 = property("$metrics", namedType(`runtime.${runtimeImport("MetricsClient")}`)).setDocComment(
9585
9663
  docComment`
9586
9664
  Gives access to the client metrics in json or prometheus format.
9587
-
9665
+
9588
9666
  @example
9589
9667
  \`\`\`
9590
9668
  const metrics = await prisma.$metrics.json()
@@ -9609,7 +9687,7 @@ function runCommandRawDefinition(context) {
9609
9687
  explain: false,
9610
9688
  })
9611
9689
  \`\`\`
9612
-
9690
+
9613
9691
  Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/raw-database-access).
9614
9692
  `);
9615
9693
  return stringify(method2, { indentLevel: 1, newLine: "leading" });
@@ -9651,7 +9729,7 @@ var PrismaClientClass = class {
9651
9729
  }
9652
9730
  return `/**
9653
9731
  * ## Prisma Client \u02B2\u02E2
9654
- *
9732
+ *
9655
9733
  * Type-safe database client for TypeScript & Node.js
9656
9734
  * @example
9657
9735
  * \`\`\`
@@ -9660,7 +9738,7 @@ var PrismaClientClass = class {
9660
9738
  * const ${lowerCase(example.plural)} = await prisma.${lowerCase(example.model)}.findMany()
9661
9739
  * \`\`\`
9662
9740
  *
9663
- *
9741
+ *
9664
9742
  * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client).
9665
9743
  */`;
9666
9744
  }
@@ -9781,6 +9859,7 @@ export type PrismaAction =
9781
9859
  | 'createManyAndReturn'
9782
9860
  | 'update'
9783
9861
  | 'updateMany'
9862
+ | 'updateManyAndReturn'
9784
9863
  | 'upsert'
9785
9864
  | 'delete'
9786
9865
  | 'deleteMany'
@@ -9833,7 +9912,7 @@ export type TransactionClient = Omit<Prisma.DefaultPrismaClient, runtime.ITXClie
9833
9912
  \`\`\`
9834
9913
  // Defaults to stdout
9835
9914
  log: ['query', 'info', 'warn', 'error']
9836
-
9915
+
9837
9916
  // Emit as events
9838
9917
  log: [
9839
9918
  { emit: 'stdout', level: 'query' },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prisma/client",
3
- "version": "6.2.0-dev.1",
3
+ "version": "6.2.0-dev.10",
4
4
  "description": "Prisma Client is an auto-generated, type-safe and modern JavaScript/TypeScript ORM for Node.js that's tailored to your data. Supports PostgreSQL, CockroachDB, MySQL, MariaDB, SQL Server, SQLite & MongoDB databases.",
5
5
  "keywords": [
6
6
  "ORM",
@@ -199,7 +199,7 @@
199
199
  "@prisma/debug": "workspace:*",
200
200
  "@prisma/driver-adapter-utils": "workspace:*",
201
201
  "@prisma/engines": "workspace:*",
202
- "@prisma/engines-version": "6.1.0-21.11f085a2012c0f4778414c8db2651556ee0ef959",
202
+ "@prisma/engines-version": "6.2.0-11.c49e56c20818c325095752dd0ae895b0dc7bad9f",
203
203
  "@prisma/fetch-engine": "workspace:*",
204
204
  "@prisma/generator-helper": "workspace:*",
205
205
  "@prisma/get-platform": "workspace:*",
@@ -208,7 +208,7 @@
208
208
  "@prisma/migrate": "workspace:*",
209
209
  "@prisma/mini-proxy": "0.9.5",
210
210
  "@prisma/pg-worker": "workspace:*",
211
- "@prisma/query-engine-wasm": "6.1.0-21.11f085a2012c0f4778414c8db2651556ee0ef959",
211
+ "@prisma/query-engine-wasm": "6.2.0-11.c49e56c20818c325095752dd0ae895b0dc7bad9f",
212
212
  "@snaplet/copycat": "0.17.3",
213
213
  "@swc-node/register": "1.10.9",
214
214
  "@swc/core": "1.10.1",