How to get data in DESC order Realm React Native

How to get data in DESC order Realm React Native

How to get data in DESC order Realm React Native

To get data in descending order in Realm React Native or react ionic you need to use the following sorted method like below:-

var contacts = realm.objects('contacts').sorted('id', true);
console.log(contacts);

if you have a question ask here Ask Questions

Post Created 130

Leave a Reply

Related Posts

Begin typing your search above and press enter to search. Press ESC to cancel.

Back To Top