---
title: MDQueryOptionFlags
framework: coreservices
role: symbol
role_heading: Structure
path: coreservices/mdqueryoptionflags
---

# MDQueryOptionFlags

Specify the execution mode for a query.

## Declaration

```swift
struct MDQueryOptionFlags
```

## Topics

### Constants

- [kMDQuerySynchronous](coreservices/kmdquerysynchronous.md)
- [kMDQueryWantsUpdates](coreservices/kmdquerywantsupdates.md)
- [kMDQueryAllowFSTranslation](coreservices/kmdqueryallowfstranslation.md)

### Initializers

- [init(_:)](coreservices/mdqueryoptionflags/1443626-init.md)
- [init(rawValue:)](coreservices/mdqueryoptionflags/1444315-init.md)

### Instance Properties

- [rawValue](coreservices/mdqueryoptionflags/1448284-rawvalue.md)

## Relationships

### Conforms To

- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
