Skip to content

Commit 1dc4911

Browse files
committed
Add to readme
1 parent db3f015 commit 1dc4911

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/api/database.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,13 @@ firestack.database()
2525
});
2626
```
2727

28+
Transaction Support:
29+
```javascript
30+
firestack.database()
31+
.ref('posts/1234/title')
32+
.transaction((title) => 'My Awesome Post');
33+
```
34+
2835
## Unmounted components
2936

3037
Listening to database updates on unmounted components will trigger a warning:

0 commit comments

Comments
 (0)