Harpreet Sangar
10/24/2023, 4:48 AMfood1
collection doesn't have the reference
field to userFood1
, you'll have to specify a "join" in the filter_by
like:
"filter_by": "$userFood1(userId:foo)",
to get the data of a particular user
or
"filter_by": "$userFood1(id:*)",
to get all the related docs.