Answer the question
In order to leave comments, you need to log in
How to find an element in an array in mongoose?
How can I find element by id in likes array using mongoose?
const isLike = await TweetModel.find({
likes: tweetId,
})
Answer the question
In order to leave comments, you need to log in
I copied the title of the question and pasted it into the Google search box. Guess what was found? Correctly! 100500 answers to the question, straight from the first link start.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question