<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@firebase/database](./database.md) &gt; [Query](./database.query.md) &gt; [ref](./database.query.ref.md)

## Query.ref property

The `Reference` for the `Query`<!-- -->'s location.

<b>Signature:</b>

```typescript
readonly ref: Reference;
```
