how to save a document in mongodb using java code example
Example: saving to a mongodb java
db.yourCollection.save( { stringAttributesExample: "book", intergerAttributeExample: 40 } )
db.yourCollection.save( { stringAttributesExample: "book", intergerAttributeExample: 40 } )