English
Appearance
basalt / comments-prisma/src / ColumnLimit
> ColumnLimit = number | { bytes: number; }
number
bytes
Defined in: comments-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).
VARCHAR(n)
{ bytes }
TEXT
MEDIUMTEXT
utf8mb4
basalt / comments-prisma/src / ColumnLimit
Type Alias: ColumnLimit
> ColumnLimit =
number| {bytes:number; }Defined in: comments-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 (MySQLTEXT65 535,MEDIUMTEXT16 777 215 — theTEXTfamily is sized in bytes, and oneutf8mb4character takes up to four).