Replies: 1 comment
-
This should help: 0b851e5 Also if the pagination mechanism yields something weird, you can disable that via |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the bug
With the following entities:
Using a query builder that has a join with a sub-query, a where-condition on a Many-To-Many relationship, and setting a limit results in a malformed query.
Sample code:
Resulting query:
Whereas running the same query without the limit succeeds.
Sample code:
Resulting query:
Reproduction
https://github.com/frw/reproduction
The example without the limit succeeds, but the example with the limit fails as the join condition (
on "user1"."id" = "user2"."id"
) is omitted, resulting in a malformed query.What driver are you using?
@mikro-orm/postgresql
MikroORM version
6.2.3-dev.5
Node.js version
v20.12.2
Operating system
Ubuntu
Validations
Beta Was this translation helpful? Give feedback.
All reactions