Contents

entities(for:)

Retrieves instances by identifier.

Declaration

func entities(for identifiers: [Self.Entity.ID]) async throws -> [Self.Entity]

Parameters

  • identifiers:

    Array of entity identifiers

Mentioned in

Discussion

Identifiers for which there is no matching entity are skipped, so the number of elements in the resulting array of entities can be smaller than the number of supplied identifiers.

See Also

Searching for entities