Module

x/kysely_postgrs_js_dialect/mod.ts>kysely.AggregateFunctionBuilder#$castTo

Kysely dialect for PostgreSQL using the Postgres.js client.
Latest
method kysely.AggregateFunctionBuilder.prototype.$castTo
import { kysely } from "https://dotland.deno.dev/x/kysely_postgrs_js_dialect@v0.27.4/mod.ts";
const { AggregateFunctionBuilder } = kysely;

Casts the expression to the given type.

This method call doesn't change the SQL in any way. This methods simply returns a copy of this AggregateFunctionBuilder with a new output type.