English | 简体中文

api-docs / org.ktorm.global / select

select

fun BaseTable<*>.select(
    columns: Collection<ColumnDeclaring<*>>
): Query
(source code)

Deprecated: ktorm-global will be removed in the future, please migrate to the standard API.


fun BaseTable<*>.select(
    vararg columns: ColumnDeclaring<*>
): Query
(source code)

Deprecated: ktorm-global will be removed in the future, please migrate to the standard API.

Create a query object, selecting the specific columns or expressions from this table.

Note that the specific columns can be empty, that means select * in SQL.