prisma-sql 1.78.0 → 1.79.0
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.cjs +3 -3
- package/dist/generator.cjs.map +1 -1
- package/dist/generator.js +3 -3
- package/dist/generator.js.map +1 -1
- package/package.json +1 -1
package/dist/generator.cjs
CHANGED
|
@@ -70,7 +70,7 @@ var require_package = __commonJS({
|
|
|
70
70
|
"package.json"(exports$1, module) {
|
|
71
71
|
module.exports = {
|
|
72
72
|
name: "prisma-sql",
|
|
73
|
-
version: "1.
|
|
73
|
+
version: "1.79.0",
|
|
74
74
|
description: "Convert Prisma queries to optimized SQL with type safety. 2-7x faster than Prisma Client.",
|
|
75
75
|
main: "dist/index.cjs",
|
|
76
76
|
module: "dist/index.js",
|
|
@@ -8182,7 +8182,7 @@ function generateExtension(runtimeImportPath) {
|
|
|
8182
8182
|
$parent?: any
|
|
8183
8183
|
}
|
|
8184
8184
|
|
|
8185
|
-
|
|
8185
|
+
async function handleMethod(
|
|
8186
8186
|
this: ModelContext,
|
|
8187
8187
|
method: PrismaMethod,
|
|
8188
8188
|
args: unknown
|
|
@@ -8194,6 +8194,7 @@ function generateExtension(runtimeImportPath) {
|
|
|
8194
8194
|
}
|
|
8195
8195
|
|
|
8196
8196
|
const startTime = Date.now()
|
|
8197
|
+
let sql: string | undefined
|
|
8197
8198
|
|
|
8198
8199
|
try {
|
|
8199
8200
|
if (args !== undefined && args !== null && typeof args !== 'object') {
|
|
@@ -8229,7 +8230,6 @@ function generateExtension(runtimeImportPath) {
|
|
|
8229
8230
|
|
|
8230
8231
|
const queryKey = normalizeQuery(plan.filteredArgs)
|
|
8231
8232
|
const prebakedQuery = QUERIES[modelName]?.[method]?.[queryKey]
|
|
8232
|
-
let sql: string
|
|
8233
8233
|
let params: unknown[]
|
|
8234
8234
|
let prebaked = false
|
|
8235
8235
|
let requiresReduction = false
|