saoudrizwan / Disk

Easily persist structs, images, and data on iOS
MIT License
3.1k stars 170 forks source link

How to filter the data while fetching? #26

Closed hemangshah closed 6 years ago

hemangshah commented 6 years ago

Hi @saoudrizwan, thank you for the cool library! Very useful.

As I am not thinking to use it wisely in my app, I would like to check, if you're offering search/filter the data while fetching it self?

saoudrizwan commented 6 years ago

Thank you Hemang! No, Disk can't query data before fetching it from the disk. You would need to first retrieve your saved JSON data using Disk and then query on the resulting array on your own.