Static Propertygrdb 7.1.0GRDB

allColumns

All columns of the requested table.

SQLSelection.swift:430
static var allColumns: AllColumns { get }

For example:

struct Player: FetchableRecord, TableRecord {
    static var databaseSelection: [any SQLSelectable] {
        [.allColumns, .rowID]
    }
}

// SELECT *, rowid FROM player
Player.fetchAll(db)