get value of inserted document mongodb code example Example: insert command mongo db.collection.insert( { item: "card", qty: 15 } )