mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-21 21:15:24 +08:00
Update docs Sqlstorage (clear function)
This commit is contained in:
@ -145,8 +145,7 @@ export class SqlStorage extends StorageEngine {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Remove the value in the database for the given key.
|
* Clear all keys/values of your database.
|
||||||
* @param {string} key the key
|
|
||||||
* @return {Promise} that resolves or rejects with an object of the form { tx: Transaction, res: Result (or err)}
|
* @return {Promise} that resolves or rejects with an object of the form { tx: Transaction, res: Result (or err)}
|
||||||
*/
|
*/
|
||||||
clear(): Promise<any> {
|
clear(): Promise<any> {
|
||||||
|
Reference in New Issue
Block a user