field reference help
hello I have models like this
how do I select player.monsters where id is in player.team[]
I tried
but that's throwing type errors
5 Replies
can anyone help?
Hey 👋
Assuming your model looks something like this:
Would a script like this work for your usecase?
hello, thanks for getting back
yeah, I was just wondering if it was possible to do this in a single query, but probably not
For this case you would need to use two queries 👍
thanks