Module

x/kysely_postgrs_js_dialect/mod.ts>kysely.AliasedAggregateFunctionBuilder

Kysely dialect for PostgreSQL using the Postgres.js client.
class kysely.AliasedAggregateFunctionBuilder
implements AliasedExpression<O, A>
import { kysely } from "https://dotland.deno.dev/x/kysely_postgrs_js_dialect@v0.27.3/mod.ts";
const { AliasedAggregateFunctionBuilder } = kysely;

AggregateFunctionBuilder with an alias. The result of calling {@link 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.