Skip to content

basalt / events-prisma/src / ColumnLimit

Type Alias: ColumnLimit ​

> ColumnLimit = number | { bytes: number; }

Defined in: events-prisma/src/column-limits.ts:27

A column's capacity: a number is a maximum in characters (MySQL VARCHAR(n)); { bytes } is a maximum in UTF-8 bytes (MySQL TEXT 65 535, MEDIUMTEXT 16 777 215 — the TEXT family is sized in bytes, and one utf8mb4 character takes up to four).

Released under the MIT License.