Expand description
In-memory DatabaseBackend reference adapter.
Modules§
- router_
key - Compound router keys:
"{engine_id}:{logical_name}".
Structs§
- Database
Router - Maps compound router keys to concrete
DatabaseBackendimplementations. - InMemory
Backend - In-memory
DatabaseBackendstoring rows and graph edges in process memory. - Known
Engines - Well-known
DatabaseBackend::engine_id values shipped with this workspace.
Constants§
- DEFAULT_
IN_ MEMORY_ ROUTER_ KEY - Router key for default in-memory backend (
inmemory_mem:default). - ENGINE_
ID - Stable engine slug for router keys (
inmemory_mem:logical_name).
Functions§
- install_
default_ mem_ router - Register the default in-memory backend under
DEFAULT_IN_MEMORY_ROUTER_KEY. - router_
key - Build the compound router key used for registration and resolution.