Skip to main content
Module

x/kysely_deno_postgres_dialect/mod.ts>kysely.AlterColumnNode

Kysely dialect for PostgreSQL using the deno-postgres client.
Latest
interface kysely.AlterColumnNode
implements OperationNode
Re-export
import { type kysely } from "https://deno.land/x/kysely_deno_postgres_dialect@v0.27.1/mod.ts";
const { AlterColumnNode } = kysely;

Properties

readonly
kind: "AlterColumnNode"
readonly
column: ColumnNode
readonly
optional
dataType: OperationNode
readonly
optional
dataTypeExpression: RawNode
readonly
optional
setDefault: OperationNode
readonly
optional
dropDefault: true
readonly
optional
setNotNull: true
readonly
optional
dropNotNull: true
variable kysely.AlterColumnNode
Re-export
import { kysely } from "https://deno.land/x/kysely_deno_postgres_dialect@v0.27.1/mod.ts";
const { AlterColumnNode } = kysely;

type

Readonly<{ is(node: OperationNode): node is AlterColumnNode; create<T extends
| "dataType"
| "dataTypeExpression"
| "setDefault"
| "dropDefault"
| "setNotNull"
| "dropNotNull"
>
(
column: string,
prop: T,
value: Required<AlterColumnNodeProps>[T],
): AlterColumnNode; }>