Relative Content

Tag Archive for databasemongodbperformancetime-complexity

complexity in querying over array vs Object in mongoDB

let’s suppose there are 1 million documents in a collection, each document need to have some tags corresponding to it,
should i be storing these tags in the form or array or in the form of object having boolean values?