Skip to content

Commit 76655ac

Browse files
committed
Added set/update/remove aliases to the database ref
1 parent d47f2f8 commit 76655ac

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/modules/database.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ class DatabaseRef {
3535
this.path = path;
3636

3737
this.handles = [];
38+
39+
// Aliases
40+
this.set = this.setAt;
41+
this.update = this.updateAt;
42+
this.remove = this.removeAt;
3843
}
3944

4045
setAt(value) {

0 commit comments

Comments
 (0)