<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 13.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 7.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "BundleResources",
  "identifier" : "/documentation/BundleResources/applinks/Details-swift.dictionary/Components-swift.dictionary/Query",
  "metadataVersion" : "0.1.0",
  "role" : "Object",
  "symbol" : {
    "kind" : "Object",
    "modules" : [
      "Bundle Resources"
    ],
    "preciseIdentifier" : "ul:applinks.Details.Components.Query"
  },
  "title" : "applinks.Details.Components.Query"
}
-->

# applinks.Details.Components.Query

A dictionary of names and values to match with query items in a URL.

```
object applinks.Details.Components.Query
```

## Discussion

The keys in this dictionary are <doc://com.apple.documentation/documentation/Foundation/NSURLQueryItem> names and the values are patterns to match with the specified key’s value.
This example code shows how to use a dictionary object for pattern matching with a URL query component:

```javascript
"?": { "productID": "12345" }
```

The above definition matches a URL query component that has a name of `productID` and a value of `12345`.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)