Last active
December 18, 2015 15:49
-
-
Save mdobson/5807384 to your computer and use it in GitHub Desktop.
Retrieving all books without a query.
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
//Getting all of your books without a filtering query. | |
UGClientResponse *result = [self.client getEntities:@"book" query:nil]; | |
if (result.transactionState == kUGClientResponseSuccess) { | |
_objects = result.response[@"entities"]; | |
} else { | |
_objects = @[]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here is how to retrieve all the books in our data store!