Type alias JSONColumnType<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