MongoDB Basic Shell Commands (part-5) Array Operators $elemMatch $elemMatch allows us to have access to the sub-document of an array field. We have a database sample_training, where one of the documents of the grades collection looks like this: { ...

Markdown supported · ⌘↵ to post
No responses yet.