We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fbc797c commit f7ea2f4Copy full SHA for f7ea2f4
1 file changed
docs/api/database.md
@@ -25,6 +25,17 @@ firestack.database()
25
});
26
```
27
28
+Basic write with priority example:
29
+```javascript
30
+firestack.database()
31
+ .ref('posts/1235')
32
+ .setWithPriority({
33
+ title: 'Another Awesome Post',
34
+ content: 'Some awesome content',
35
+ }, 10);
36
+```
37
+Useful for `orderByPriority` queries.
38
+
39
## Unmounted components
40
41
Listening to database updates on unmounted components will trigger a warning:
0 commit comments