MCQs>IT & Programming>Node.js>If you create a collection by using the createCollection method with [safe : true] option, then which of the following types of behaviors will be observed?
Node.js MCQs
If you create a collection by using the createCollection method with [safe : true] option, then which of the following types of behaviors will be observed?
Answer
Correct Answer: It will create a new collection if it does not exist. But ifa collection already exists. then it will return an error.
Explanation:
Note: This Question is unanswered, help us to find answer for this one