KVDBL is a free-monadic language for operating on key–value storage through a deliberately raw, string-based interface. It separates database operations from the application’s business logic while leaving serialization of domain values to the developer. section 11.0 section 11.1.2
The basic interface defines:
- A phantom database type that prevents accidental mixing of databases such as ValuesDB and AstroDB. section 11.1.2
- Operations for reading, writing, searching, updating, and deleting without embedding database connections in the language itself. section 11.1.2
Running a typed database scenario
A program can load a value from AstroDB by selecting the database type, then execute the resulting KVDBL scenario through an explicit DBHandle. The handle records the database implementation and name, while business queries remain separate from connectivity.
Figure 11.1 Framework subsystems: a new free monadic language is added to the hierarchy
The subsystem hierarchy shows KVDBL as a new free-monadic language beneath a later typed and type-safe interface. section 11.0
