---
title: "MDQueryEnableUpdates(_:)"
framework: coreservices
role: symbol
role_heading: Function
path: coreservices/1413066-mdqueryenableupdates
---

# MDQueryEnableUpdates(_:)

Enables updates to the query result list.

## Declaration

```swift
func MDQueryEnableUpdates(_ query: MDQuery!)
```

## Parameters

- `query`: The query.

## Discussion

Discussion This function should be called when finished iterating through the list of results. Live-updates to the query results will continue when all the disables have been matched by a corresponding enable.

## See Also

### Starting, Stopping and Pausing Queries

- [MDQueryExecute(_:_:)](coreservices/1413099-mdqueryexecute.md)
- [MDQueryStop(_:)](coreservices/1413077-mdquerystop.md)
- [MDQueryDisableUpdates(_:)](coreservices/1413041-mdquerydisableupdates.md)
- [MDQueryIsGatheringComplete(_:)](coreservices/1413032-mdqueryisgatheringcomplete.md)
