Updating the primary key

21-Jul-2015 07:28

Second, we have to change the behaviour for Realm Mobile Platform.Changing the value of a primary key on one device may lead to inconsistencies on another device.Let me respond to a few of your words inline: I understand the reasoning behind it, but this shouldn't affect users of the library not using the Realm Mobile Platform, in my opinion.Writing custom sync code is that much harder without having a way of updating primary keys.

If by adding the column, and issuing the update, the rows need to move (ie, they no longer fit where they were), then thats going to be major problem.As such we can not invest the resources needed to switch to the Realm Mobile Platform, as much as I like the prospect of never having to write a single line for sync anymore.