How to use distinctUnionOfObjects in Realm swift

I want to get all the individual records for a column in a sphere

I know that for this there is a distinctUnionOfObjects method .

Can anyone help me out?

Thanks in advance.

+4
source share
1 answer

While Realm supports most features NSPredicate, unfortunately, it does not yet support it @distinctUnionOfObjects. This is definitely on the roadmap, and there is a problem tracking it on the Realm GitHub account .

There is a NSPredicatesyntax / keyword table for reference later that Realm maintains on its website.

+2
source

Source: https://habr.com/ru/post/1621396/


All Articles