Why my query is not executed properly in postman but when I used that query in MongoDB compass it will work fine
{members: { $in: [user] } } i am tring tring to execute this query in my project, postman show no data and in mongodb campass it is showing 1 doc and that it i want. the req.query is equal to this Query: { members: { ‘$in’: [ ‘6633e81c999ca497b24d6dc9’ ] } } members is the array […]
Why my query is executed properly in postman but when I used that query in MongoDB compass it will work fine
{members: { $in: [user] } } i am tring tring to execute this query in my project, postman show no data and in mongodb campass it is showing 1 doc and that it i want. the req.query is equal to this Query: { members: { ‘$in’: [ ‘6633e81c999ca497b24d6dc9’ ] } } members is the array […]