Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
#54 Inserting documents in collection | Getting Started with MongoDB | A Complete NODE JS Course
Play lesson

A Complete NODE JS Course Step by Step - #54 Inserting documents in collection | Getting Started with MongoDB | A Complete NODE JS Course

5.0 (0)
15 learners

What you'll learn

This course includes

  • 26.5 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

In this lecture, you are going to learn about different methods which MongoDB provides to insert a document into a collection. Basically, there are two methods: * insertOne(): inserts a single document at a time. * insertMany(): insert multiple documents at a time We also have another method for inserting single or multiple document called insert(), but this method is deprecated in most of the MongoDB drivers. So, we should avoid using that.

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere