Interface DatabaseConnection
Methods
read
- read(path: string): Promise<any>
-
Parameters
Returns Promise<any>
remove
- remove(path: string): Promise<any>
-
Parameters
Returns Promise<any>
subscribe
- subscribe(path: string, callback: function): Promise<function>
-
Parameters
-
path: string
-
callback: function
Returns Promise<function>
write
- write(path: string, toWrite: Object): Promise<any>
-
Parameters
-
path: string
-
toWrite: Object
Returns Promise<any>