insert one in mongodb code example Example: mongodb insertone db.<yourcollection>.insertOne({name :"<yourvalue>", firstname :"<yourvalue>"})