<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@firebase/firestore](./firestore.md) &gt; [/](./firestore_.md) &gt; [DocumentReference](./firestore_.documentreference.md) &gt; [path](./firestore_.documentreference.path.md)

## DocumentReference.path property

A string representing the path of the referenced document (relative to the root of the database).

<b>Signature:</b>

```typescript
get path(): string;
```
