Skip to content
Prev Previous commit
Next Next commit
Merge branch 'v3' into v3-transaction
  • Loading branch information
FrankSalad authored Jan 17, 2017
commit 6ac8fda004fd610ff314f7b44143c733f742c090
12 changes: 12 additions & 0 deletions docs/api/database.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,18 @@ firestack.database()
});
```

Basic write with priority example:
```javascript
firestack.database()
.ref('posts/1235')
.setWithPriority({
title: 'Another Awesome Post',
content: 'Some awesome content',
}, 10);
```
Useful for `orderByPriority` queries.


Transaction Support:
```javascript
firestack.database()
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.