Skip to content

Commit 8416c09

Browse files
committed
update database
1 parent d08977d commit 8416c09

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/database.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,4 +107,16 @@ export default {
107107
}
108108
};
109109
</script>
110+
```
111+
112+
You can also update or remove a document from the database.
113+
114+
Example:
115+
116+
```javascript
117+
// delete document.
118+
this.Person.delete(key)
119+
120+
// update document
121+
this.Person.update(key)
110122
```

0 commit comments

Comments
 (0)