products:
{ _id: 10, name: "Blue elephpant" }
{ _id: 11, name: "Pink elephpant" }
categories:
{ _id: 4, name: "toys", product_ids: [ 10, 11 ] }
{ _id: 8, name: "everything pink", product_ids: [ 11 ] }
db.categories.find( { product_ids: 11 } );
category = db.categories.find( { category_ids: 4 } );
db.products.find( { _id: { $in: category.product_ids } } );