Last active
November 27, 2018 15:49
-
-
Save glourenco/5aba025fedfed4994e53b14549089658 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Document exampleDoc = new Document(); | |
exampleDoc.put("name","Lourenco"); | |
exampleDoc.put("country","USA"); | |
System.out.println(exampleDoc.toJson()); | |
collection.insertOne(exampleDoc); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment