Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java mongodb document get

// After you get a Document
// Document doc = /**some document here**/;

// Print the value of the attribute named "test"
System.out.println(doc.get("test"));
 
PREVIOUS NEXT
Tagged: #java #mongodb #document
ADD COMMENT
Topic
Name
4+5 =