Find MongoDB documents that are not contained across arrays
MongoDB Collection A contains documents with an array with some document ids of collection B: Collection A: { some_ids_of_b: ["id1", ...] } Collection B: { _id: "id1" }, { _id: "id2" }, ... How do I query all documents from…