Friday, 20 February 2015

Querying inside Arrays


MongoDB provides below operators, to query inside arrays.

Operator
Description
Matches arrays that contain all elements specified in the query.
Selects documents if element in the array field matches all the specified $elemMatch conditions.
Selects documents if the array field is a specified size.


Prevoius                                                 Next                                                 Home

No comments:

Post a Comment