class

QueryBuilder::Projection(T)

Inherits Reference < Object

Class methods

avg(column : String) : AggregateProjection(T)
Source
avg(projection : Projection) : AggregateProjection(T)
Source
column(table : String, column : String) : ColumnProjection(T)
Source
column(col : String) : ColumnProjection(T)

simple columns

Source
constant(constant : T) : ConstantProjection(T)

constant

Source
count(column : String) : AggregateProjection(T)
Source
count(projection : Projection) : AggregateProjection(T)
Source
count
Source
max(column : String) : AggregateProjection(T)
Source
max(projection : Projection) : AggregateProjection(T)
Source
min(column : String) : AggregateProjection(T)

aggregate functions

Source
min(projection : Projection) : AggregateProjection(T)
Source
subquery(subquery : SqlBuilder, _as : String) : AliasedProjection(T)
Source
subquery(subquery : SqlBuilder) : SubqueryProjection(T)

subquery

Source
sum(column : String) : AggregateProjection(T)
Source
sum(projection : Projection) : AggregateProjection(T)
Source

Instance methods

alias(name : String) : Projection(T)

Alias and casts

Source
build
Source
cast_date
Source
cast_datetime
Source
cast_int
Source
cast_real
Source
cast_string
Source
params
Source