I'm using the Waterline ORM (MongoDB adapter) with SailsJS and trying to return all documents that don't match the specified query along the lines of this:
User.find({
id: { $nin: [array] }
}).done(...)
I understand that when passing in an array it will automatically query with the $in operator, but how can I query with the $nin operator?