I\'m trying to figure out the best design for the messaging system I\'m porting from SQL Server to MongoDB - currently (in SQL Server) there are tree tables that store the m
see here https://docs.mongodb.com/manual/indexes/#multikey-index
Index by a field of a document in an array is supported by mongodb.
Example:
{ addr.zip: 1 }