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

Method createId

src/compat/firestore/firestore.ts:238–240  ·  view source on GitHub ↗

* Returns a generated Firestore Document Id.

()

Source from the content-addressed store, hash-verified

236 * Returns a generated Firestore Document Id.
237 */
238 createId() {
239 return this.firestore.collection('_').doc().id;
240 }
241}

Callers

nothing calls this directly

Calls 2

docMethod · 0.45
collectionMethod · 0.45

Tested by

no test coverage detected