how to assign an _id to posted data vanilla mongodb code example Example: insert command mongo db.collection.insert( { item: "card", qty: 15 } )