<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@firebase/firestore](./firestore.md) &gt; [/](./firestore_.md) &gt; [QuerySnapshot](./firestore_.querysnapshot.md) &gt; [query](./firestore_.querysnapshot.query.md)

## QuerySnapshot.query property

The query on which you called `get` or `onSnapshot` in order to get this `QuerySnapshot`<!-- -->.

<b>Signature:</b>

```typescript
readonly query: Query<T>;
```
