Skip to content
It's Vapor Week! Celebrating 10 Years of Vapor Read more

Instance Method

columns(_:)

Specify mutiple columns to be included in the list of columns for the query.
@discardableResult func columns(_ columns: String...) -> Self

Discussion

Overwrites any previously specified column list.