Multiple Realm DBs with different Schema

107 views
Skip to first unread message

Edward Ishaq

unread,
Apr 30, 2015, 1:30:12 PM4/30/15
to realm...@googlegroups.com
Hello Realm guys,

How do I create two different Realm DBs with different Schemas ?
Creating multiple realms from the same project seems to be using the same RLMObjects in my project at both Realms.

I was hopping to be able to separate some tables across different DB's.

Is that even possible ?
if not, is there a plan to do so ? Core-Data support this kind of separation between persistent storage and schema.

Thanks,
Eddie

Samuel Giddins

unread,
Apr 30, 2015, 1:35:26 PM4/30/15
to Edward Ishaq, realm...@googlegroups.com
Edward,
This is something that's currently unsupported, but will become possible once we introduce the idea of an RLMConfiguration. You can track progress on this at https://github.com/realm/realm-cocoa/issues/1584. In the meantime, keep in mind that empty tables in a Realm take up almost no space and have no performance impact. Hope that helps!

--
Samuel Giddins



--
You received this message because you are subscribed to the Google Groups "Realm" group.
To unsubscribe from this group and stop receiving emails from it, send an email to realm-cocoa...@googlegroups.com.
To post to this group, send email to realm...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/realm-cocoa/d6085521-ae78-41e3-825e-81c907585896%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



{#HS:87910316-1001#}
Reply all
Reply to author
Forward
0 new messages