Details
-
Bug
-
Resolution: Fixed
-
Minor - P4
-
None
-
None
Description
Description
In the example here we say:
Consider the following documents in the users collection:
However, the following code that shows how $where can be used is using collection name foo instead:
db.foo.find( { $where: function() { |
return (hex_md5(this.name) == "9b53e667f30cd329dca1ec9e6a83e994") |
} } );
|
It should be instead:
db.users.find( { $where: function() { |
return (hex_md5(this.name) == "9b53e667f30cd329dca1ec9e6a83e994") |
} } );
|