Skip to content

Behavior differences

The D1 Worker API matches Cloudflare. The storage topology does not.

Compatibility

TopicCloudflareopen-compute
Worker APID1 Worker APISame: prepare / bind / run / all / first / raw / exec / batch, sessions, opaque bookmarks, prepared-statement / result / meta
TopologyHosted D1 with read replicasLocal primary SQLite on the node running ocd
Read replicasAvailableNot provided
Region routingAvailableNot provided
served_by geographyRegion / colo metadataNot provided; served_by_* is not a geography product
BookmarksCross-replica causalityLocal ordering on the same database
rows_read / rows_writtenBilling countersLocal SQLite execution counts
dump()Rejected on hosted non-alphaRejected (D1_DUMP_ERROR)
REST / client.v4AvailableNot provided; use the Worker binding

See Compatibility.