0
我想檢索所有customObjects的最新日期group_by user_id。 如何在IOS中提出此請求?QuickBlox API group_by在CustomObject上查詢
我想檢索所有customObjects的最新日期group_by user_id。 如何在IOS中提出此請求?QuickBlox API group_by在CustomObject上查詢
嘗試這樣的事情
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];