SelectionRequest
A request that can define the selected columns.
protocol SelectionRequest
Browse conforming typesThe SELECT Clause
func annotated(with: [any SQLSelectable]
) -> Self Appends result columns to the selected columns.
func annotated(with: any SQLSelectable...
) -> Self Appends result columns to the selected columns.
func annotatedWhenConnected(with: @escaping (Database) throws -> [any SQLSelectable]
) -> Self Appends result columns to the selected columns.
func select(any SQLSelectable...
) -> Self Defines the result columns.
func select([any SQLSelectable]
) -> Self Defines the result columns.
func select(literal: SQL
) -> Self Defines the result columns with an
SQL
literal.func select(sql: String, arguments: StatementArguments
) -> Self Defines the result columns with an SQL string.
func selectWhenConnected(@escaping (Database) throws -> [any SQLSelectable]
) -> Self Defines the result columns.