mirror of
https://github.com/status-im/realm-js.git
synced 2025-02-18 17:47:32 +00:00
Merge pull request #419 from realm/sk-close-docs
Add close() method API doc
This commit is contained in:
commit
d93f5d7584
@ -69,6 +69,12 @@ class Realm {
|
|||||||
*/
|
*/
|
||||||
constructor(config) {}
|
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.
|
* 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.
|
* @param {Realm~ObjectType} type - The type of Realm object to create.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user