Getting full path

The proper way to get a documents' path:

From DocumentReferencearrow-up-right: .path

e.g. var path = ref.path

From DocumentSnapshotarrow-up-right: .ref.path

e.g. var path = doc.ref.path

Last updated

Was this helpful?