diff --git a/docs/realm.js b/docs/realm.js index 52ed7602..4d4e2213 100644 --- a/docs/realm.js +++ b/docs/realm.js @@ -69,6 +69,12 @@ class Realm { */ constructor(config) {} + /** + * Closes this Realm so it may be re-opened with a newer schema version. + * All objects and collections from this Realm are no longer valid after calling this method. + */ + close() {} + /** * Create a new Realm object of the given type and with the specified properties. * @param {Realm~ObjectType} type - The type of Realm object to create.