Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/kysely_postgrs_js_dialect/deps.ts>kysely.AggregateFunctionBuilder#$notNull

Kysely dialect for PostgreSQL using the Postgres.js client.
Latest
method kysely.AggregateFunctionBuilder.prototype.$notNull
Re-export
import { kysely } from "https://deno.land/x/kysely_postgrs_js_dialect@v0.27.4/deps.ts";
const { AggregateFunctionBuilder } = kysely;

Omit null from the expression's type.

This function can be useful in cases where you know an expression can't be null, but Kysely is unable to infer it.

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

Returns

AggregateFunctionBuilder<DB, TB, Exclude<O, null>>