docs: add documentation
This commit is contained in:
parent
00d35c6b3e
commit
3904340e6c
|
@ -276,6 +276,8 @@ Name | Type | Default | Description |
|
|||
Closes the underlying IndexedDB connection. The Database is not usable after that (or any other Databases
|
||||
with the same locale).
|
||||
|
||||
Note that as soon as any other non-close/delete method is called, the database will automatically reopen.
|
||||
|
||||
**Returns:** *Promise‹void›*
|
||||
|
||||
___
|
||||
|
@ -287,6 +289,8 @@ ___
|
|||
Deletes the underlying IndexedDB database. The Database is not usable after that (or any other Databases
|
||||
with the same locale).
|
||||
|
||||
Note that as soon as any other non-close/delete method is called, the database will be recreated.
|
||||
|
||||
**Returns:** *Promise‹void›*
|
||||
|
||||
___
|
||||
|
|
|
@ -109,6 +109,8 @@ export default class Database {
|
|||
* Closes the underlying IndexedDB connection. The Database is not usable after that (or any other Databases
|
||||
* with the same locale).
|
||||
*
|
||||
* Note that as soon as any other non-close/delete method is called, the database will automatically reopen.
|
||||
*
|
||||
*/
|
||||
close(): Promise<void> {
|
||||
return Promise.resolve()
|
||||
|
@ -118,6 +120,8 @@ export default class Database {
|
|||
* Deletes the underlying IndexedDB database. The Database is not usable after that (or any other Databases
|
||||
* with the same locale).
|
||||
*
|
||||
* Note that as soon as any other non-close/delete method is called, the database will be recreated.
|
||||
*
|
||||
*/
|
||||
delete(): Promise<void> {
|
||||
return Promise.resolve()
|
||||
|
|
Loading…
Reference in New Issue