selectDistinct

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

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 distinctly.

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