AllColumns
public struct AllColumns
AllColumns is the *
in SELECT *
.
You use AllColumns in your custom implementation of TableRecord.databaseSelection.
For example:
struct Player : TableRecord {
static var databaseTableName = "player"
static let databaseSelection: [SQLSelectable] = [AllColumns(), Column.rowID]
}
// SELECT *, rowid FROM player
let request = Player.all()
-
Undocumented
Declaration
Swift
public init()