AdaptedTypedRequest
public struct AdaptedTypedRequest<Base: TypedRequest> : TypedRequest
An adapted typed request.
-
The type that can convert raw database rows to fetched values
Declaration
Swift
public typealias RowDecoder = Base.RowDecoder
-
Declaration
Swift
public func prepare(_ db: Database) throws -> (SelectStatement, RowAdapter?)
-
Declaration
Swift
public func fetchCount(_ db: Database) throws -> Int
-
Declaration
Swift
public func fetchedRegion(_ db: Database) throws -> DatabaseRegion