Skip to content

Cloudflare D1 features

Product Features

  • Point-in-time recovery

    Lets a managed database be restored to any specific moment within a retention window to recover from errors or data loss.

  • Scale to zero

    Automatically suspends idle compute after a period of inactivity and resumes it on the next request, so idle databases incur no compute cost.

  • Database backups

    Automatically takes periodic backups of stored data so it can be restored after loss or corruption.

  • Database migrations

    Tracks and applies versioned changes to the database schema so structural updates can be deployed in a controlled way.

  • ORM compatibility

    Works with popular object-relational mapping libraries so applications can query the database through ORM models with type safety.

  • Generated columns

    Database columns whose values are computed automatically from other columns, SQL expressions, or JSON data.