Hi,
I am working on an iphone app, and I have to fetch out data from sqlite table with the help of core data NSPredicate
object.
I want to fetch records on Random basis, without any sorting.
Like :
SELECT * FROM zquestionsdata where zquestiontype='Logic' ORDER BY RANDOM()
How can it be implemented by NSPredicate
?
Thanks.......