Skip to content

Commit

Permalink
Removed documentation for deleteKey() until it's fully ready
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Mittelman committed May 7, 2020
1 parent b154c0e commit 5a14a61
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ Provides access to the Storage API. See below for methods and explanation.


## Storage API (`monday.storage`)
> The Storage API is in early development stages, its API is likely to change
> The Storage API is in early beta stages, its API is likely to change
The monday apps infrastructure includes a persistent, key-value database storage that developers can leverage to store data without having to create their own backend and maintain their own database.

Expand All @@ -290,7 +290,7 @@ The database currently offers instance-level storage only, meaning that each app

- `monday.storage.instance.getItem(key)` - Returns a stored value from the database under `key`
- `monday.storage.instance.setItem(key, value)` - Stores `value` under `key` in the database
- `monday.storage.instance.deleteItem(key)` - Deletes the value under `key`
<!-- - `monday.storage.instance.deleteItem(key)` - Deletes the value under `key` -->


**Returns:**
Expand Down Expand Up @@ -334,10 +334,12 @@ monday.storage.instance.getItem('mykey').then(res => {
// => 'Lorem Ipsum'
```
<!--
Delete a previously stored key in the database:
```js
monday.storage.instance.deleteItem('mykey').then(res => {
console.log(res);
}
// => { "success": true }
```
-->

0 comments on commit 5a14a61

Please sign in to comment.