public struct SuffixRowAdapter : RowAdapter

SuffixRowAdapter is a row adapter that hides the first columns in a row.

let adapter = SuffixRowAdapter(fromIndex: 2)
let sql = "SELECT 1 AS foo, 2 AS bar, 3 AS baz"

// [baz:3]
try Row.fetchOne(db, sql: sql, adapter: adapter)
  • Creates a SuffixRowAdapter that hides all columns before the provided index.

    If index is 0, the layout row is identical to the base row.



    public init(fromIndex index: Int)