KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm trying to display a query in MongoDB where a text field is not '' (blank) { 'name' : { $not : '' }} However I get the error invalid use of $not I've looked over the documentation but the examples they use are for complicated cases (with regexp and $not negating another operator). How would I do the simple thing I'm trying to do?
Tags (comma-separated)
Save Edits
Cancel