MongoDB - $exists and $regex operator
//
$exists
As mongoDB is schema less. In database some table can have different schema. for example if we have Persons database and
in that database we have people collection. If we need to know that whether a certain field exists in collection or not.
Syntax: { field: { $exists:
Read More about it from the following link : http://coding-guru.com/mongodb-exists-and-regex-operator/ posted by Maz
MongoDB - $exists and $regex operator
Tags:
0 comments: