interface kysely.AlterTableNode
implements OperationNode
import { type kysely } from "https://dotland.deno.dev/x/kysely_postgrs_js_dialect@v0.27.3/deps.ts";
const { AlterTableNode } = kysely;
Properties
readonly
table: TableNodereadonly
optional
renameTo: TableNodereadonly
optional
setSchema: IdentifierNodereadonly
optional
columnAlterations: ReadonlyArray<AlterTableColumnAlterationNode>readonly
optional
addConstraint: AddConstraintNodereadonly
optional
dropConstraint: DropConstraintNodereadonly
optional
dropIndex: DropIndexNodeimport { kysely } from "https://dotland.deno.dev/x/kysely_postgrs_js_dialect@v0.27.3/deps.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; }>