---
title: HKObjectQueryNoLimit
framework: healthkit
role: symbol
role_heading: Global Variable
path: healthkit/hkobjectquerynolimit
---

# HKObjectQueryNoLimit

A value indicating that the query returns all the matching samples in the HealthKit store.

## Declaration

```swift
var HKObjectQueryNoLimit: Int { get }
```

## See Also

### Creating Anchored Object Queries

- [Executing Anchored Object Queries](healthkit/executing-anchored-object-queries.md)
- [init(type:predicate:anchor:limit:resultsHandler:)](healthkit/hkanchoredobjectquery/init(type:predicate:anchor:limit:resultshandler:).md)
- [init(queryDescriptors:anchor:limit:resultsHandler:)](healthkit/hkanchoredobjectquery/init(querydescriptors:anchor:limit:resultshandler:).md)
- [init(type:predicate:anchor:limit:completionHandler:)](healthkit/hkanchoredobjectquery/init(type:predicate:anchor:limit:completionhandler:).md)
