MCPcopy Index your code
hub / github.com/angular/angularfire / object

Method object

src/compat/database/database.ts:80–83  ·  view source on GitHub ↗
(pathOrRef: PathReference)

Source from the content-addressed store, hash-verified

78 }
79
80 object<T>(pathOrRef: PathReference): AngularFireObject<T> {
81 const ref = inject(NgZone).runOutsideAngular(() => getRef(this.database, pathOrRef));
82 return createObjectReference<T>(ref, this, this.injector);
83 }
84
85 createPushId() {
86 const ref = inject(NgZone).runOutsideAngular(() => this.database.ref());

Callers

nothing calls this directly

Calls 2

getRefFunction · 0.90
createObjectReferenceFunction · 0.90

Tested by

no test coverage detected