Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Querying for max value #684

Closed
staticdreams opened this issue Jul 26, 2014 · 1 comment
Closed

Querying for max value #684

staticdreams opened this issue Jul 26, 2014 · 1 comment

Comments

@staticdreams
Copy link

How would I go about selecting max value for a property among all the records? Do I have to create a predicate for this? or something like Contact.objectsWhere("max(age)") is actually available and I'm missing it?

@staticdreams
Copy link
Author

Arrghh.. Been answering my questions myself lately :-)

http://cocoadocs.org/docsets/Realm/0.81.0/Classes/RLMArray.html#//api/name/maxOfProperty:

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant