Options
All
  • Public
  • Public/Protected
  • All
Menu

Table options.

Hierarchy

  • TableOptions

Index

Properties

Optional checks

Table check constraints.

Optional columns

Table columns.

Optional engine

engine: undefined | string

Table engine.

Optional foreignKeys

foreignKeys: TableForeignKeyOptions[]

Table foreign keys.

Optional indices

Table indices.

Optional justCreated

justCreated: undefined | true | false

Indicates if table was just created. This is needed, for example to check if we need to skip primary keys creation for new tables.

name

name: string

Table name.

Optional uniques

Table unique constraints.

Generated using TypeDoc