prisma-sql 1.41.0 → 1.42.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 +7 -2
- package/dist/generator.cjs.map +1 -1
- package/dist/generator.js +7 -2
- package/dist/generator.js.map +1 -1
- package/dist/index.cjs +6 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/generator.js
CHANGED
|
@@ -54,7 +54,7 @@ var require_package = __commonJS({
|
|
|
54
54
|
"package.json"(exports$1, module) {
|
|
55
55
|
module.exports = {
|
|
56
56
|
name: "prisma-sql",
|
|
57
|
-
version: "1.
|
|
57
|
+
version: "1.42.0",
|
|
58
58
|
description: "Convert Prisma queries to optimized SQL with type safety. 2-7x faster than Prisma Client.",
|
|
59
59
|
main: "dist/index.cjs",
|
|
60
60
|
module: "dist/index.js",
|
|
@@ -3810,7 +3810,12 @@ function buildSelectSpec(input) {
|
|
|
3810
3810
|
model,
|
|
3811
3811
|
alias
|
|
3812
3812
|
);
|
|
3813
|
-
const orderByClause = buildOrderByClause(
|
|
3813
|
+
const orderByClause = buildOrderByClause(
|
|
3814
|
+
normalizedArgs,
|
|
3815
|
+
alias,
|
|
3816
|
+
dialect,
|
|
3817
|
+
model
|
|
3818
|
+
);
|
|
3814
3819
|
const { take, skip, cursor } = getPaginationParams(method, normalizedArgs);
|
|
3815
3820
|
const params = createParamStoreFrom(
|
|
3816
3821
|
whereResult.params,
|