Which of the following function is used to add one document to a collection?

33. Which of the following function is used to add one document to a collection?

  1. addOne()
  2. appendOne()
  3. insertOne()

Answer: C) insertOne()

Explanation:

The insertOne() function is used to add one document to a collection.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.