Exposed for internal use only (used in generated code).
Backs the elm-pages CLI-generated Pages.Db and MigrateChain modules.
Each function targets exactly one elm-pages-internal://db-* runtime
handler — the endpoint name is hardcoded so callers cannot pivot to
non-DB internal routes.
Write a new db.bin payload. Targets elm-pages-internal://db-write.
Acquire the write lock for a connection. Targets
elm-pages-internal://db-lock-acquire.
Release a previously-acquired write lock. Targets
elm-pages-internal://db-lock-release.
Read raw db.bin during a migration script. Targets
elm-pages-internal://db-migrate-read.
Write a migrated db.bin. Targets
elm-pages-internal://db-migrate-write. Used both by Pages.Db (with
connection headers) and by MigrateChain (with no headers).
Read the on-disk db.bin metadata + payload for a connection. Targets
elm-pages-internal://db-read-meta.