You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Querying a column from an embedded entity should be done with respect to the hierarchy in which it was defined. Example:
userRepository.find({ where: { name: { first: "Timber", last: "Saw" } } });
For me the parameters inside of the nested object are simply missing from the query.
Nested where in find is currently working. I had tested it in another issue. I'll be marking this one as a duplicate of that issue.
Reacted by Danyil Moroz, Marek Lukáš, Davron Sherbaev, Kağan Sarı, Yogesh Khatri, Comerick, Feida Meng, Daniel De Lucca Fonseca, Yuri Barros, Matúš Múčka and 7 more
Reacted by Danyil Moroz, Matúš Múčka and Marco Ninghetto
Activity
adamkrupke commentedon Mar 28, 2019
What does the device schema look like? Is
accountan embedded entity?trixden commentedon Mar 28, 2019
#3890 same problem
onionhammer commentedon Mar 28, 2019
@nomadoda Schema looks like this
Removed some columns for simplicity
pie6k commentedon Apr 17, 2019
I have the same issue
My code:
Resulting query (from console):
It's quite weird.
pie6k commentedon Apr 17, 2019
Even more interesting - it's possible to 'destroy data':
Code:
Resulted in query:
Which narrowed criteria and removed data I didnt want to remove here.
a7urag commentedon Apr 11, 2020
#3890 (comment)
imnotjames commentedon Oct 15, 2020
Nested
whereinfindis currently working. I had tested it in another issue. I'll be marking this one as a duplicate of that issue.imnotjames commentedon Oct 15, 2020
Duplicate of #2707