select

Creates an abstracted SELECT query selecting the specified columns.

Select mtHigherThan2k = table("mountain").qb
    .where("height", '>', 2000)
    .select("id", "height")
;

Select knownMountains = table("mountain").qb
    .select(count("*"))
;

Select maxHeight = table("mountain").qb
    .select(max("height"))
;
@safe pure
select
(
ColumnV...
)
(,
ColumnV columns
)

Parameters

columns ColumnV

Columns to select; either as strings or SelectExpressions

Meta