@prisma/query-plan-executor 7.10.0-dev.20 → 7.10.0-dev.21
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 +15 -4
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -93473,7 +93473,7 @@ __export(index_exports, {
|
|
|
93473
93473
|
module.exports = __toCommonJS(index_exports);
|
|
93474
93474
|
|
|
93475
93475
|
// package.json
|
|
93476
|
-
var version = "7.10.0-dev.
|
|
93476
|
+
var version = "7.10.0-dev.21";
|
|
93477
93477
|
|
|
93478
93478
|
// ../../node_modules/.pnpm/temporal-polyfill@0.3.0/node_modules/temporal-polyfill/chunks/internal.js
|
|
93479
93479
|
function clampProp(e2, n2, t2, o2, r2) {
|
|
@@ -101793,6 +101793,16 @@ function safeJsonStringify(obj) {
|
|
|
101793
101793
|
return val;
|
|
101794
101794
|
});
|
|
101795
101795
|
}
|
|
101796
|
+
var MAX_PUSH_SPREAD_ARGS = 8192;
|
|
101797
|
+
function appendToArray(target, source) {
|
|
101798
|
+
if (source.length <= MAX_PUSH_SPREAD_ARGS) {
|
|
101799
|
+
target.push(...source);
|
|
101800
|
+
return;
|
|
101801
|
+
}
|
|
101802
|
+
for (let i2 = 0; i2 < source.length; i2 += MAX_PUSH_SPREAD_ARGS) {
|
|
101803
|
+
target.push(...source.slice(i2, i2 + MAX_PUSH_SPREAD_ARGS));
|
|
101804
|
+
}
|
|
101805
|
+
}
|
|
101796
101806
|
function normalizeJsonProtocolValues(result) {
|
|
101797
101807
|
if (result === null) {
|
|
101798
101808
|
return result;
|
|
@@ -102658,8 +102668,9 @@ function renderTemplateSql(fragments, placeholderFormat, params, argTypes) {
|
|
|
102658
102668
|
if (fragment.type === "stringChunk") {
|
|
102659
102669
|
continue;
|
|
102660
102670
|
}
|
|
102661
|
-
const
|
|
102662
|
-
const added =
|
|
102671
|
+
const fragmentParams = Array.from(flattenedFragmentParams(fragment));
|
|
102672
|
+
const added = fragmentParams.length;
|
|
102673
|
+
appendToArray(flattenedParams, fragmentParams);
|
|
102663
102674
|
if (fragment.argType.arity === "tuple") {
|
|
102664
102675
|
if (added % fragment.argType.elements.length !== 0) {
|
|
102665
102676
|
throw new Error(
|
|
@@ -103201,7 +103212,7 @@ var QueryInterpreter = class _QueryInterpreter {
|
|
|
103201
103212
|
if (results === void 0) {
|
|
103202
103213
|
results = result;
|
|
103203
103214
|
} else {
|
|
103204
|
-
results.rows
|
|
103215
|
+
appendToArray(results.rows, result.rows);
|
|
103205
103216
|
results.lastInsertId = result.lastInsertId;
|
|
103206
103217
|
}
|
|
103207
103218
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/query-plan-executor",
|
|
3
|
-
"version": "7.10.0-dev.
|
|
3
|
+
"version": "7.10.0-dev.21",
|
|
4
4
|
"description": "This package is intended for Prisma's internal use",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -19,11 +19,11 @@
|
|
|
19
19
|
"hono": "^4.12.23",
|
|
20
20
|
"temporal-polyfill": "0.3.0",
|
|
21
21
|
"zod": "4.1.3",
|
|
22
|
-
"@prisma/adapter-
|
|
23
|
-
"@prisma/adapter-
|
|
24
|
-
"@prisma/
|
|
25
|
-
"@prisma/client-engine-runtime": "7.10.0-dev.
|
|
26
|
-
"@prisma/adapter-
|
|
22
|
+
"@prisma/adapter-pg": "7.10.0-dev.21",
|
|
23
|
+
"@prisma/adapter-mssql": "7.10.0-dev.21",
|
|
24
|
+
"@prisma/adapter-mariadb": "7.10.0-dev.21",
|
|
25
|
+
"@prisma/client-engine-runtime": "7.10.0-dev.21",
|
|
26
|
+
"@prisma/driver-adapter-utils": "7.10.0-dev.21"
|
|
27
27
|
},
|
|
28
28
|
"files": [
|
|
29
29
|
"dist"
|