OzzyRMOzzyRMDocs
GlossaryTypes

VarChar

Variable-length string with an optional max length.

Variable-length string with an optional max length.

VARCHAR stores text up to a defined length. It is useful when you want to limit storage and validate maximum input size at the database level.

Example

Prisma
title String @db.VarChar(255)

On this page