Previously I asked about getting random users. I was able to use page request and just request certain page with certain page size. And I needed to get the total number of users first. And that went well.
I now realized that that was the wrong question. I actually need to get random number of custom objects. It doesn't appear that I could use the same method. There is no paged request for custom object, nor do I know how to get the total number of objects. How would I be able to do it?
EDIT:
I've just noticed that parameter can have count and limit. I'll try it out.
EDIT 2: I can't figure out how to put the parameter count
in.
I tried
[QBCustomObjects objectsWithClassName:NSStringFromClass([self class])
extendedRequest:[@{@"gender": 0, @"count": [NSNull null]} mutableCopy]
delegate:proxy];
What I was trying to do was to find the count for all in the table where gender is 0. But it returned all records that matched.