AnyFetchRequest

public struct AnyFetchRequest<RowDecoder> : FetchRequest

A type-erased FetchRequest.

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

AnyFetchRequest

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

    Declaration

    Swift

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