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