MR can't handle 2 or more DB #262

Closed
interman opened this Issue Sep 27, 2012 · 1 comment

Projects

None yet

2 participants

@interman

Hi, I am not sure is an issue or I don't know the trick to do it. My app has more than 1 DB. is anyway that MR can handle few DB's ? Any reference, example, document to show the way for MR setup to handle multiple DB?

@casademora
Member

MagicalRecord supports whatever CoreData supports, and that means multiple data stores. Check out the methods in the Persistent Store Coordinator, like MR_addSqlitePersistentStore:withOptions: This is just a shortcut to the more verbose method in the Core Data API.

https://github.com/magicalpanda/MagicalRecord/blob/master/MagicalRecord/Categories/NSPersistentStoreCoordinator%2BMagicalRecord.h#L31

@casademora casademora closed this Sep 27, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment