TypedRequest

public protocol TypedRequest

The protocol for all requests that know how database rows should be interpreted.

  • The type that can decode database rows.

    In the request below, it is Player:

    let request = Player.all()
    

    Declaration

    Swift

    associatedtype RowDecoder