<!--
{
  "availability" : [
    "iOS: 17.4.0 -",
    "iPadOS: 17.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "FinanceKit",
  "identifier" : "/documentation/FinanceKit/AccountQuery",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "FinanceKit"
    ],
    "preciseIdentifier" : "s:10FinanceKit12AccountQueryV"
  },
  "title" : "AccountQuery"
}
-->

# AccountQuery

A structure that defines an account query.

```
struct AccountQuery
```

## Overview

Use an `AccountQuery` to find and filter a person’s accounts.

## Topics

### Initializers

[`init(sortDescriptors: [SortDescriptor<Account>], predicate: Predicate<Account>?, limit: Int?, offset: Int?)`](/documentation/FinanceKit/AccountQuery/init(sortDescriptors:predicate:limit:offset:))

Creates a new account query structure with the provided sort descriptors and, optionally, a predicate and limit on the number of records the query should return.

## Relationships

### Conforms To

[`Sendable`](/documentation/Swift/Sendable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

---

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)