J
J
JCHouse2012-12-25 19:12:16
MongoDB
JCHouse, 2012-12-25 19:12:16

Knowing to get an error

Tell what request to form that the basis certainly returned an error. Need to test, but my sand experience does not allow this?
I'm using mongodb+mongoose+nodejs if it's important.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Silver_Clash, 2012-12-25
@Silver_Clash

Create one document with an explicit _id and try to insert it into the collection several times - you will get an error, because _id must be unique.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question