AnyFetchRequest

public struct AnyFetchRequest<RowDecoder> : FetchRequest

A type-erased FetchRequest.

An AnyFetchRequest forwards its operations to an underlying request, hiding its specifics.

  • Creates a request that wraps and forwards operations to request.

    Declaration

    Swift

    public init<Request>(_ request: Request) where Request : FetchRequest