One Logo Pool Ball
FinanceKit · IOS API REFERENCE

AccountQuery

struct · iOS 17.4+ · SDK 27.1

struct AccountQuery

A structure that defines an account query. Use an `AccountQuery` to find and filter a person's accounts.

Members (1)

init · iOS 17.4+

init

TypeScript
static init(sortDescriptors?: Array<_Foundation_SortDescriptor<Account>>, predicate?: (_Foundation_Predicate<Account>) | null, limit?: (number) | null, offset?: (number) | null): AccountQuery
Swift declaration
init(sortDescriptors: [SortDescriptor<Account>] = [], predicate: Predicate<Account>? = nil, limit: Int? = nil, offset: Int? = nil)

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. - parameters: - sortDescriptors: An array of ``Account`` sort descriptors. - predicate: A <doc://com.apple.documentation/documentation/foundation/predicate> to filter the `Account` records with. - limit: An integer that indicates the maximum number of `Account` records to return. - offset: An integer that indicates the number of records to offset the result by.

Skipped declarations

No declarations were skipped in this snapshot.

All FinanceKit types →