我想要使用最新日期group_by user_id检索所有customObjects。 我如何在IOS中提出此请求?
答案 0 :(得分:0)
尝试这样的事情
NSMutableDictionary *getRequest = [NSMutableDictionary dictionary];
[getRequest setObject:@"user_id" forKey:@"group_by"];
[getRequest setObject:@"max" forKey:@"created_at[calc]"];
[QBCustomObjects objectsWithClassName:@"MyClass" extendedRequest:getRequest delegate:self];