Documentation Index
Fetch the complete documentation index at: https://mintlify.com/alchemy-run/alchemy/llms.txt
Use this file to discover all available pages before exploring further.
D1Database
Creates and manages Cloudflare D1 Databases - serverless SQL databases built on SQLite.Props
Name of the database.
Optional primary location hint for the database.Options:
wnam, enam, weur, eeur, apac, ocRead replication configuration (only mutable property during updates).
Whether to delete the database when the resource is removed from Alchemy.
Whether to adopt an existing database with the same name if it exists.
Clone data from an existing database to this new database (only applicable during creation phase).
The names of SQL files to import. After migrations are applied, these files will be run.
Name of the table used to track migrations. Only used if migrationsDir is specified.
Directory containing migration SQL files. If not set, no migrations will be applied.
Optional jurisdiction for the database.
Output
The unique ID of the database (UUID).
The name of the database.
The jurisdiction of the database.
Type identifier for the binding.