Distinct Count via Core Data, NSExpression Into NSFetchedResultsController

后端 未结 2 2018
遇见更好的自我
遇见更好的自我 2020-12-30 13:16

Currently using Core Data. I have one table in which I am trying to retrieve information along these lines:

SELECT item, COUNT(*) FROM myTab         


        
2条回答
  •  死守一世寂寞
    2020-12-30 13:53

    It made more sense to just write my own query. I followed this excellent tutorial:

    http://dblog.com.au/iphone-development-tutorials/iphone-sdk-tutorial-reading-data-from-a-sqlite-database/

提交回复
热议问题