Skip to content

AlterTableBuilder

Josh Wright edited this page Jan 14, 2021 · 3 revisions

AlterTableBuilder

A builder for altering the columns of an existing table.

public final class AlterTableBuilder: CreateTableBuilder

Inheritance

CreateTableBuilder

Methods

drop(column:)

Drop a column.

public func drop(column: String)

Parameters

  • column: The name of the column to drop.

rename(column:to:)

Rename a column.

public func rename(column: String, to: String)

Parameters

  • column: The name of the column to rename.
  • to: The new name for the column.

drop(index:)

Drop an index.

public func drop(index: String)

Parameters

  • index: The name of the index to drop.
Alchemy
Types
Protocols
Global Typealiases
Global Variables
Global Functions
Fusion
Types
Protocols
Papyrus
Types
Protocols
Clone this wiki locally