Skip to main content
Module

x/kysely_deno_postgres_dialect/mod.ts>kysely.AlterTableNode

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

Properties

readonly
kind: "AlterTableNode"
readonly
table: TableNode
readonly
optional
renameTo: TableNode
readonly
optional
setSchema: IdentifierNode
readonly
optional
columnAlterations: ReadonlyArray<AlterTableColumnAlterationNode>
readonly
optional
addConstraint: AddConstraintNode
readonly
optional
dropConstraint: DropConstraintNode
readonly
optional
addIndex: AddIndexNode
readonly
optional
dropIndex: DropIndexNode
variable kysely.AlterTableNode
Re-export
import { kysely } from "https://deno.land/x/kysely_deno_postgres_dialect@v0.27.1/mod.ts";
const { AlterTableNode } = kysely;

type

Readonly<{ is(node: OperationNode): node is AlterTableNode; create(table: TableNode): AlterTableNode; cloneWithTableProps(node: AlterTableNode, props: AlterTableNodeTableProps): AlterTableNode; cloneWithColumnAlteration(node: AlterTableNode, columnAlteration: AlterTableColumnAlterationNode): AlterTableNode; }>