2

I am creating an offline application which consist of huge database, I am confused in selecting one of them core data or fmdb and also can I use join queries in core data?

Jayesh Gyanchandani
  • 305
  • 2
  • 6
  • 16
  • In Core-Data, you need to use NSPredicate for filtering the records. Core-Data is fast. FMDB is set in its own way. – Wolverine Oct 25 '16 at 06:32
  • @Wolverine according to your experience what should i go with? – Jayesh Gyanchandani Oct 25 '16 at 06:34
  • 1
    In My experience, It depends on Complexity of relationships between tables/entities. If there is complex relation between tables, then I would use FMDB because it is easy to write query and get data. In case of CoreData, it is fast, most of new apps using Core-Data for storing data, And it is Apple provided concept, Its Good. – Wolverine Oct 25 '16 at 06:41
  • 1
    You should go with any of these 2 options, In which you feel confident, level of expertise also matters. – Wolverine Oct 25 '16 at 06:43
  • 1
    Go for Core data, Fetching and storing huge amount of data is faster in core data. – mohsin Oct 25 '16 at 06:57
  • 1
    Go with Core Data. However, don't think of Core Data as a database. It is an object graph. And you need to really understand how it works. This is the first sentence on the Core Data from Apple: "Core Data is a rich and sophisticated **object graph management framework** capable of dealing with large volumes of data." – oyalhi Oct 25 '16 at 18:18
  • 1
    http://stackoverflow.com/questions/523482/core-data-vs-sqlite-3 – Mike.R Nov 13 '16 at 10:52

0 Answers0