Nested Docs children #11296
Unanswered
TheRefineryAU
asked this question in
Q&A
Replies: 1 comment
-
const parentPageId = 123
const children = await payload.find({
collection: 'pages',
where: { parent: { equals: parentPageId }}
}) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, this seems like a standard thing but i can't find any documentation:
How do i get the children of a Parent in a collection that is using the nested docs plugin?
Beta Was this translation helpful? Give feedback.
All reactions