Module

x/kysely_postgrs_js_dialect/mod.ts>kysely.AlterTableNode

Kysely dialect for PostgreSQL using the Postgres.js client.
interface kysely.AlterTableNode
implements OperationNode
import { type kysely } from "https://dotland.deno.dev/x/kysely_postgrs_js_dialect@v0.27.3/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
import { kysely } from "https://dotland.deno.dev/x/kysely_postgrs_js_dialect@v0.27.3/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; }>
import kysely.AlterTableNode
import { kysely } from "https://dotland.deno.dev/x/kysely_postgrs_js_dialect@v0.27.3/mod.ts";
const { AlterTableNode } = kysely;