---
title: "Pratik Zinjurde (@pratikpz) | Hashnode"
description: "aspiring web developer. Read the latest articles by Pratik Zinjurde on Hashnode."
url: "https://hashnode.com/@pratikpz"
---

@pratikpz

# Pratik Zinjurde

@pratikpz · Joined February 2021

aspiring web developer

## Comments

[hi can you tell me why this code is not working let user=await User.find({ \_id: { $ne: userid } }, {friendsList : {$ne:userid}}).limit(3) im getting this error in postman { "ok": 0, "code": 2, "codeName": "BadValue", "name": "MongoError" }](https://hashnode.com/posts/100daysofmern-day-50/6059dd1b25962412b9818ad6/comment/605c6e1078c4742436d50f17)

Comment · Article · Mar 25, 2021 · [#100DaysOfMERN - Day 50](https://hashnode.com/posts/100daysofmern-day-50/6059dd1b25962412b9818ad6)

[nice ! keep going](https://hashnode.com/posts/100daysofmern-day-47/6054ce3490e9571f3bb40d72/comment/6055bd8c5f8d5121697267c9)

Comment · Article · Mar 20, 2021 · [#100DaysOfMERN - Day 47](https://hashnode.com/posts/100daysofmern-day-47/6054ce3490e9571f3bb40d72)

[yes it would be glad to readjsdisco also,i am working on chat webapp im using mern im currently stuck at messaging i fetched users friends in message component im not finding way how can i send them msg im thinking of using socket.io the current problem im facing is how can message particular user like when i click user i want to open the respective chat window how can i do it in react could you help me this is my repo https://github.com/pratikpz18/Ping/blob/main/frontend/src/components/Messages.jsi want do something like whatsapp(web app) like when u click on particular friends the window on right appears](https://hashnode.com/posts/100daysofmern-day-40/6040de67ff443a0a449a0d2f/comment/60427d9b91eeac2b7aee8541#reply-6043c3028458d42fc821b4a1)

Reply · Article · Mar 6, 2021 · [#100DaysOfMERN - Day 40](https://hashnode.com/posts/100daysofmern-day-40/6040de67ff443a0a449a0d2f)

[I got the solution I use aggregate function jsdisco](https://hashnode.com/posts/100daysofmern-day-40/6040de67ff443a0a449a0d2f/comment/60427d9b91eeac2b7aee8541#reply-60437a808458d42fc821b0d5)

Reply · Article · Mar 6, 2021 · [#100DaysOfMERN - Day 40](https://hashnode.com/posts/100daysofmern-day-40/6040de67ff443a0a449a0d2f)

[Thanks jsdisco](https://hashnode.com/posts/100daysofmern-day-40/6040de67ff443a0a449a0d2f/comment/60427d9b91eeac2b7aee8541#reply-60437a205a56f82fa3ecbc2e)

Reply · Article · Mar 6, 2021 · [#100DaysOfMERN - Day 40](https://hashnode.com/posts/100daysofmern-day-40/6040de67ff443a0a449a0d2f)

[It would be very kind of you to solve this for me how can i get all the users whose users ids present in users friendlist array For reference u can see this https://stackoverflow.com/questions/66497145/how-can-i-get-all-the-users-whose-users-ids-present-in-users-friendlist-array](https://hashnode.com/posts/100daysofmern-day-40/6040de67ff443a0a449a0d2f/comment/60427d9b91eeac2b7aee8541)

Comment · Article · Mar 5, 2021 · [#100DaysOfMERN - Day 40](https://hashnode.com/posts/100daysofmern-day-40/6040de67ff443a0a449a0d2f)

[im having trouble in setting freindrequest to other users in my mern app could you suggest me how to tackle it in user schema i added an array of friends list which has objects friends id and friends name email](https://hashnode.com/posts/100daysofmern-day-35/603539e90dde8f7722d1e46e/comment/6035f3f10dde8f7722d1f014)

Comment · Article · Feb 24, 2021 · [#100DaysOfMERN - Day 35](https://hashnode.com/posts/100daysofmern-day-35/603539e90dde8f7722d1e46e)
