Add introduced version to objectForPrimaryKey doc

This commit is contained in:
Scott Kyle 2016-06-17 02:38:09 -07:00
parent dc3d88f053
commit ab05c5f732

View File

@ -113,6 +113,7 @@ class Realm {
* @throws {Error} If type passed into this method is invalid or if the object type did
* not have a `primaryKey` specified in its {@link Realm~ObjectSchema ObjectSchema}.
* @returns {Realm.Object|undefined} if no object is found.
* @since 0.14.0
*/
objectForPrimaryKey(type, key) {}