Query entries from a related entry #8706
Answered
by
duncanmcclean
JeremyWorkWork
asked this question in
Troubleshooting
-
Feel like i am just missing something really simple here, i can't seem to be able to query entries by a related entry id:
Always returns empty result. If i just get all product entries and inspect the data, it has a categories array of category entry ids with the id i am looking for. I have a collection called Products Products has a Entry field type relation
Data from product a markdown entry file:
|
Beta Was this translation helpful? Give feedback.
Answered by
duncanmcclean
Sep 15, 2023
Replies: 1 comment 1 reply
-
Instead of |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
JeremyWorkWork
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Instead of
whereIn
, trywhereJsonContains