As you can see by the attached image it’s an array of references. Thanks in advance, any advice would be appreciated.
Jun 6, 2022, 10:34 AM
! To check I'm understanding correctly, you want to create a filter that prevents a document from being referenced in the Creator Projects array in more than one document that contains a Creator Projects array?
Jun 6, 2022, 4:56 PM
Hi! yes, that's correct. I've attached screenshots that might make things clearer. Thanks
Jun 6, 2022, 6:18 PM
Got it! You'll need to use an async function & import the client to fetch all of the documents that are already referenced. For example: