Closed rustanacexd closed 9 years ago
I believe _.reject
may be what you're after
I already got it.
return _.filter(Mongo.Collection.getAll(), function (o) {
return o.name !== 'users' && o.name !== 'meteor_accounts_loginServiceConfiguration';
});
Is there any built in feature for this? basically I want to exclude the 2 pre made collections
I am trying to use underscore js here. And i'm confused why it is not working.