Replies: 1 comment 3 replies
-
Your repo is not a reproduction. I want to see a minimal code to reproduce your problem, I am not interested in checking your actual app in your private repo. Please provide at least the entity definitions.
And be sure to upgrade, you should actually do that before you report anything, as the issue might have been already solved. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the bug
I have two tables, one table is users, the other is books, and in the books table I have a "parameters" field that is stored in JSON format
and I want to get users who have books wherein the parameters the season name should equal "summer".
Simple SQL looks like this:
So by docs mikro-orm I did next:
but mikro-orm converting this where condition to this:
and I got sql error:
The main difference between simple sql and mikro-orm converted sql is ->> and ->.
Reproduction
What driver are you using?
@mikro-orm/postgresql
MikroORM version
"@mikro-orm/postgresql": "^5.7.14"
Node.js version
v18.18.2
Operating system
Linux Mint
Validations
Beta Was this translation helpful? Give feedback.
All reactions