Last active
October 6, 2015 02:54
-
-
Save ingenthr/40a61c54efb20338c976 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
// Read | |
Observable loadedFromId = bucket.get("id"); // async using RxJava | |
JsonDocument found = bucket.get("notexisting").toBlocking().singleOrDefault(null); // sync | |
// Write | |
JsonDocument found = bucket.get("notexisting").toBlocking().singleOrDefault(null); // | |
// Query |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment