Add close() method API doc
This commit is contained in:
parent
513c0fee77
commit
4cecb0a612
|
@ -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 in this Realm will no longer be valid until it is re-opened.
|
||||
*/
|
||||
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.
|
||||
|
|
Loading…
Reference in New Issue