---
title: includeDocumentData
framework: healthkit
role: symbol
role_heading: Instance Property
path: healthkit/hkdocumentquery/includedocumentdata
---

# includeDocumentData

A Boolean value that indicates whether the sample includes the full document’s data.

## Declaration

```swift
var includeDocumentData: Bool { get }
```

## Discussion

Discussion This property contains the value passed to the init(documentType:predicate:limit:sortDescriptors:includeDocumentData:resultsHandler:) method’s includeDocumentData parameter.

## See Also

### Accessing the Document Query’s Properties

- [limit](healthkit/hkdocumentquery/limit.md)
- [sortDescriptors](healthkit/hkdocumentquery/sortdescriptors.md)
