matthewcheok / Realm-JSON

A concise Mantle-like way of working with Realm and JSON.
MIT License
661 stars 129 forks source link

RLMObject without PK #67

Open jrmybrault opened 8 years ago

jrmybrault commented 8 years ago

It seems to me that it is currently impossible to use the API for an RLMObject without a primary key as it exclusively relies on the underlying createOrUpdate Realm API, which throws an exception in such case.

Would it be possible for you to either expose a new API to do so and/or expose the "private" APIs that do the dictionary mapping ?