SyntaxFix
Write A Post
Hire A Developer
Questions
You can also use the helper method Exists over the Mongo operator $exists
ME.find() .exists('pictures') .where('pictures').ne([]) .sort('-created') .limit(10) .exec(function(err, results){ ... });