- db.customers.add({name: “Bob”})
- db.customers.save({name: “Bob”})
- db.customers.create({name: “Bob”})
- db.customers.new({name: “Bob”})
From the MongoDB shell, how do you create a new document in the customers collection?
June 25, 2021June 25, 2021
0 Comment