Structuregrdb 7.4.0GRDB
SuffixRowAdapter
SuffixRowAdapter
hides the leftmost columns in a row.
struct SuffixRowAdapter
For example:
let adapter = SuffixRowAdapter(fromIndex: 2)
let sql = "SELECT 0 AS a, 1 AS b, 2 AS c, 3 AS d"
// [c:2, d: 3]
try Row.fetchOne(db, sql: sql, adapter: adapter)!