Class AliasedAggregateFunctionBuilder<DB, TB, O, A>

AggregateFunctionBuilder with an alias. The result of calling AggregateFunctionBuilder.as.

Type Parameters

  • DB
  • TB extends keyof DB
  • O = unknown
  • A extends string = never

Implements

Constructors

Properties

Accessors

Methods

Constructors

Properties

#private: any

Accessors

  • get alias(): A
  • Returns the alias.

    Returns A

  • get expression(): Expression<O>
  • Returns the aliased expression.

    Returns Expression<O>

Methods

  • Creates the OperationNode that describes how to compile this expression into SQL.

    Returns kysely.AliasNode