product type that have content relationship to a
I can fetch
fetchLinks when getting all
Can I get
product documents when getting all
Hi @codyslexia, they only way you would be able to get
product document data in the same query as your
category documents would be if you had a content relationship field in your
category documents connecting to
product documents. Since you already have the link the other way, I wouldn't recommend doing this because you would have to manage all your connections in two different places, which is not ideal.
What I would recommend is making a 2nd query to retrieve your
product documents. You can query documents using the document ID of a content relationship field.
@Levi Thanks for the clarification, but something like an O2M relation support would be nice.
Btw I can't access Slack link (the link you embedded)
Oops, sorry, I added the wrong link. I corrected it above and will also provide it here: