Skip to content


Fix documentation mistake #443

wants to merge 1 commit into from

2 participants


Hi @thoughtadvances — the code as it stands in the documentation is incorrect, however if you want to do a quick search and return an array containing the result, MR_findAllWithPredicate: is the right method to use. Thanks for pointing out the problem.

@tonyarnold tonyarnold closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 3, 2013
  1. Fix MR_fetch method call, fix #399

    Alex Dunn committed
Showing with 1 addition and 1 deletion.
  1. +1 −1
@@ -206,7 +206,7 @@ If you want to be more specific with your search, you can send in a predicate:
NSPredicate *peopleFilter = [NSPredicate predicateWithFormat:@"Department IN %@", departments];
- NSArray *people = [Person MR_fetchAllWithPredicate:peopleFilter];
+ NSFetchRequest *peopleRequest = [Person MR_requestAllWithPredicate:peopleFilter];
For each of these single line calls, the full stack of NSFetchRequest, NSSortDescriptors and a simple default error handling scheme (ie. logging to the console) is created.
Something went wrong with that request. Please try again.