MongoDB queries data for a field that is not empty

class:MongoDB views:104 Author:xiaomo314
Command
db.neeq2008.find({"name":{"$ne":null}})
Explanation
$ne : not equal
{"name":{"$ne":null}} : The field is not null
Operation result
Return non-empty result data

This platform is gradually under construction, more development orders are gradually included, any questions or Suggestions can be Contact Us