how to add method to mongodb code example Example: insert command mongo db.collection.insert( { item: "card", qty: 15 } )