ios - Complex PFQuery -


i'm working on app users can follow each other. on app there leaderboard show users sorted popularity , date. popularity how many people followed each user recently.

this list of 10 people

i have pfobject called follow. has relationship person , date created.

i'm little perplexed how can create query sorts follow object date. example, need sort had followers today. if there one, next person need person new followers yesterday. after may person had votes last week. , on...

any suggestions appreciated.

read part called query constraints here: https://parse.com/docs/ios/guide#queries

it describes how sort queries multiple criteria.

if doesn't quite work, store objects in arrays , find highest counts way.


Comments

Popular posts from this blog

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

python - How do I create a list index that loops through integers in another list -

c# - “System.Security.Cryptography.CryptographicException: Keyset does not exist” when reading private key from remote machine -