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