i am trying to get results from my `userId` such that both `type != 4` and `userType != 1`i tried this but it gives me empty set of resultconst transaction = { userId: userId, $and: [{ type: { $ne: 4 } }, { userType: { $ne: 1 } }] }; await.Transactions.find(transaction);
Submitted June 05, 2020 at 02:32AM by meMindFlayer
No comments:
Post a Comment