MCPcopy Index your code
hub / github.com/NativeScript/firebase / get

Method get

packages/firebase-firestore/index.android.ts:359–365  ·  view source on GitHub ↗
(fieldPath: string | number | FieldPath)

Source from the content-addressed store, hash-verified

357 }
358
359 get<fieldType extends DocumentFieldType>(fieldPath: string | number | FieldPath): fieldType {
360 if (fieldPath instanceof FieldPath) {
361 return deserializeField(this.native.get(fieldPath?.native));
362 } else {
363 return deserializeField(this.native.get(String(fieldPath)));
364 }
365 }
366
367 toJSON() {
368 return {

Callers

nothing calls this directly

Calls 2

deserializeFieldFunction · 0.70
getMethod · 0.65

Tested by

no test coverage detected