Cloudflare D1 · Schema

D1 Primary Location Hint

Specify the region to create the D1 primary, if available. If this option is omitted, the D1 will be created as close as possible to the current user.

DatabaseSQLiteServerlessEdge ComputingSQLCloudflareWorkers
View JSON Schema on GitHub

JSON Schema

d1_primary-location-hint.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/cloudflare-d1/main/json-schema/d1_primary-location-hint.json",
  "title": "D1 Primary Location Hint",
  "description": "Specify the region to create the D1 primary, if available. If this option is omitted, the D1 will be created as close as possible to the current user.",
  "enum": [
    "wnam",
    "enam",
    "weur",
    "eeur",
    "apac",
    "oc"
  ],
  "example": "wnam",
  "type": "string",
  "x-auditable": true
}