Join our next Developer Virtual Meetup – Live Q&A, Project Showcase, Swag raffle, and more 🔥

If I have a document type A which contains a reference to document type B, when I query type B can I get a list of all A that refer to it?

1 replies
Last updated: Oct 19, 2020
If I have a document type A which contains a reference to document type B, when I query type B can I get a list of all A that refer to it?
Oct 19, 2020, 12:20 PM
If someone’s wondering the same, the answer is here https://www.sanity.io/docs/how-queries-work#our-first-join-52023b22ca05
Oct 19, 2020, 12:39 PM

Sanity– build remarkable experiences at scale

Sanity is a modern headless CMS that treats content as data to power your digital business. Free to get started, and pay-as-you-go on all plans.

Was this answer helpful?