prisma-sql 1.60.0 → 1.62.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 +2 -3
- package/dist/generator.cjs.map +1 -1
- package/dist/generator.js +2 -3
- package/dist/generator.js.map +1 -1
- package/dist/index.cjs +432 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +43 -1
- package/dist/index.d.ts +43 -1
- package/dist/index.js +426 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/generator.cjs
CHANGED
|
@@ -71,7 +71,7 @@ var require_package = __commonJS({
|
|
|
71
71
|
"package.json"(exports$1, module) {
|
|
72
72
|
module.exports = {
|
|
73
73
|
name: "prisma-sql",
|
|
74
|
-
version: "1.
|
|
74
|
+
version: "1.62.0",
|
|
75
75
|
description: "Convert Prisma queries to optimized SQL with type safety. 2-7x faster than Prisma Client.",
|
|
76
76
|
main: "dist/index.cjs",
|
|
77
77
|
module: "dist/index.js",
|
|
@@ -5411,8 +5411,7 @@ function createQueryKey(processedQuery) {
|
|
|
5411
5411
|
}
|
|
5412
5412
|
function generateImports() {
|
|
5413
5413
|
return `// Generated by @prisma-sql/generator - DO NOT EDIT
|
|
5414
|
-
import { buildSQL, buildBatchSql, parseBatchResults, buildBatchCountSql, parseBatchCountResults, createTransactionExecutor, transformQueryResults, type PrismaMethod, type Model, type BatchQuery, type BatchCountQuery, type TransactionQuery, type TransactionOptions } from 'prisma-sql'
|
|
5415
|
-
import { normalizeValue } from 'prisma-sql/utils/normalize-value'`;
|
|
5414
|
+
import { buildSQL, buildBatchSql, parseBatchResults, buildBatchCountSql, parseBatchCountResults, createTransactionExecutor, transformQueryResults, normalizeValue, type PrismaMethod, type Model, type BatchQuery, type BatchCountQuery, type TransactionQuery, type TransactionOptions } from 'prisma-sql'`;
|
|
5416
5415
|
}
|
|
5417
5416
|
function generateCoreTypes() {
|
|
5418
5417
|
return `class DeferredQuery {
|