Declared in NSManagedObject+MagicalAggregation.h

Class Methods

MR_aggregateOperation:onAttribute:withPredicate:

+ (NSNumber *)MR_aggregateOperation:(NSString *)function onAttribute:(NSString *)attributeName withPredicate:(NSPredicate *)predicate

MR_aggregateOperation:onAttribute:withPredicate:inContext:

+ (NSNumber *)MR_aggregateOperation:(NSString *)function onAttribute:(NSString *)attributeName withPredicate:(NSPredicate *)predicate inContext:(NSManagedObjectContext *)context

MR_countOfEntities

+ (NSUInteger)MR_countOfEntities

MR_countOfEntitiesWithContext:

+ (NSUInteger)MR_countOfEntitiesWithContext:(NSManagedObjectContext *)context

MR_countOfEntitiesWithPredicate:

+ (NSUInteger)MR_countOfEntitiesWithPredicate:(NSPredicate *)searchFilter

MR_countOfEntitiesWithPredicate:inContext:

+ (NSUInteger)MR_countOfEntitiesWithPredicate:(NSPredicate *)searchFilter inContext:(NSManagedObjectContext *)context

MR_hasAtLeastOneEntity

+ (BOOL)MR_hasAtLeastOneEntity

MR_hasAtLeastOneEntityInContext:

+ (BOOL)MR_hasAtLeastOneEntityInContext:(NSManagedObjectContext *)context

MR_numberOfEntities

+ (NSNumber *)MR_numberOfEntities

MR_numberOfEntitiesWithContext:

+ (NSNumber *)MR_numberOfEntitiesWithContext:(NSManagedObjectContext *)context

MR_numberOfEntitiesWithPredicate:

+ (NSNumber *)MR_numberOfEntitiesWithPredicate:(NSPredicate *)searchTerm

MR_numberOfEntitiesWithPredicate:inContext:

+ (NSNumber *)MR_numberOfEntitiesWithPredicate:(NSPredicate *)searchTerm inContext:(NSManagedObjectContext *)context

Instance Methods

MR_objectWithMinValueFor:

- (id)MR_objectWithMinValueFor:(NSString *)property

MR_objectWithMinValueFor:inContext:

- (id)MR_objectWithMinValueFor:(NSString *)property inContext:(NSManagedObjectContext *)context