Mongoose inséré

// MongoDB mongosh method v5
db.books.insertOne({ 
  book: "NoSQL For Dummies", 
  author: "Adam Fowler",
  published: 2015
});

// Mongoose v6
const Book = mongoose.model('Book', bookSchema);

Book.insertOne({ 
  book: "NoSQL For Dummies", 
  author: "Adam Fowler",
  published: 2015
})
Coffee Addict