adjustSelect

inline fun adjustSelect(body: ColumnSet.(FieldSet) -> Query): Query

Assigns a new selection of columns, by changing the fields property of this query's set, while preserving its source property.

Parameters

body

Builder for the new column set defined using select(), with the current set's source property used as the receiver and the current set as an argument.

Samples

org.jetbrains.exposed.sql.tests.shared.dml.AdjustQueryTests.testAdjustQuerySlice