Skip to main content
Module

x/kysely_deno_postgres_dialect/mod.ts>kysely.AlterColumnBuilder

Kysely dialect for PostgreSQL using the deno-postgres client.
Go to Latest
class kysely.AlterColumnBuilder
import { kysely } from "https://deno.land/x/kysely_deno_postgres_dialect@v0.27.0/mod.ts";
const { AlterColumnBuilder } = kysely;

Constructors

new
AlterColumnBuilder(column: string)

Methods

$call<T>(func: (qb: this) => T): T

Simply calls the provided function passing this as the only argument. $call returns what the provided function returns.

setDataType(dataType: DataTypeExpression): AlteredColumnBuilder
setDefault(value: DefaultValueExpression): AlteredColumnBuilder