Filter relationship by value in parent
I have a query where I'm trying to filter related objects by a value that will be found in the root of the query. example
2 Replies
try
someId: someValue
?I don't have the list of
someId
at this point. I can query to get the list of all of those, then do another query to get the related models, but I was just hoping I could somehow filter that someRelatedModel
in this query. I guess I could just write the raw SQL to do it if the SDK doesn't support it.
I was hoping there would be a solution like:
I want to be able to do this through the SDK if possible.
My brain broke. I just added a relationship between the 2 and it fixed it