OzzyRMOzzyRMDocs
GlossaryTypes

DateTime

Prisma date and time scalar type.

Prisma date and time scalar type.

DateTime maps to timestamp-like columns in the database. Prisma can auto-update it with @updatedAt.

Example

Prisma
updatedAt DateTime @updatedAt

On this page