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 Book:

    let request = Book.all()
    

    Declaration

    Swift

    associatedtype RowDecoder