Skip to main content
Module

x/kysely_deno_postgres_dialect/mod.ts>kysely.AliasedAggregateFunctionBuilder

Kysely dialect for PostgreSQL using the deno-postgres client.
Latest
class kysely.AliasedAggregateFunctionBuilder
implements AliasedExpression<O, A>
import { kysely } from "https://deno.land/x/kysely_deno_postgres_dialect@v0.27.1/mod.ts";
const { AliasedAggregateFunctionBuilder } = kysely;

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

Constructors

new
AliasedAggregateFunctionBuilder(aggregateFunctionBuilder: AggregateFunctionBuilder<DB, TB, O>, alias: A)

Type Parameters

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

Properties

readonly
alias: A

Returns the alias.

readonly
expression: Expression<O>

Returns the aliased expression.

Methods

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