findLatest

Get latest version of an object.

This makes it possible to get a mutable realm object from an older version of the object, most notably as part of an AutomaticSchemaMigration.

Parameters

obj

realm object to look up