We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 980c447 commit a262a5cCopy full SHA for a262a5c
src/database/database.ts
@@ -12,7 +12,14 @@ import * as utils from '../utils';
12
@Injectable()
13
export class AngularFireDatabase {
14
15
- constructor(public app: FirebaseApp) {}
+ /**
16
+ * Firebase Database instance
17
+ */
18
+ database: firebase.database.Database;
19
+
20
+ constructor(public app: FirebaseApp) {
21
+ this.database = app.database();
22
+ }
23
24
list(pathOrRef: PathReference, opts?:FirebaseListFactoryOpts):FirebaseListObservable<any[]> {
25
const ref = utils.getRef(this.app, pathOrRef);
0 commit comments