Consider a MongoDB document in users
collection:
{ username : 'Alex', tags: ['C#', 'Java', 'C++'] }
Is there any way, to get the length of the tags
array from the server side (without passing the tags to the client) ?
Thank you!
question from:https://stackoverflow.com/questions/6722850/querying-internal-array-size-in-mongodb