Skip to content
masterclass Buddy

Drizzle ORM · Function

char

Drizzle ORM's MySQL char function defines a fixed-length CHAR column. Use length for its size and enum to narrow inferred string values.

Last updated

Syntax

char(config?)

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • mysqlTable
  • varchar
  • text
  • enum

Source: Drizzle ORM - MySQL column types. Checked 2026-11-03.