Open vtharmalingam opened 9 months ago
➤ PM Bot commented:
Jira ticket: RCPP-51
You could do realm_instance->objects<commission_ledger>().sort("ts", false)
and use the first element of the result.
Wonderful, thank you very much! This assistance is truly invaluable. Could you provide any guidance on where I might find documentation covering concepts like "groupby" and others similar to "sort"? Thanks, in advance!
Hi Greetings!
Here is the struct of my collection:
I need to find the last timestamp when the commission was processed. Currently, I use this kind of code, but I think it is inefficient.
Is there a direct "aggregate" syntax possible to be used here and in similar other cases?
Thanks, Tharma