Type alias JSONColumnType<SelectType, InsertType, UpdateType>

JSONColumnType<SelectType, InsertType, UpdateType>: ColumnType<SelectType, InsertType, UpdateType>

A shortcut for defining JSON columns, which are by default inserted/updated as stringified JSON strings.

Type Parameters

  • SelectType extends object | null

  • InsertType = string

  • UpdateType = string

Generated using TypeDoc