You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@gollodev If I got you you would replace references to *.id by *._id.
Here it can be id depending on the context. Here you don't need to manipulate an ObjectId which is the type of _id and if you compare it to a string the equality test would fail.
So using id is fine.
moongose unique index _id not id.
The text was updated successfully, but these errors were encountered: