Skip to main content

Module database

Module database 

Source
Expand description

Virtual database abstraction

This module provides a virtual database abstraction trait that supports multiple storage backends: SQLite (persistent, production-like), JSON files (human-readable), and in-memory (fast, no persistence).

Structs§

InMemoryDatabase
In-memory database backend implementation
JsonDatabase
JSON file database backend implementation
SqliteDatabase
SQLite database backend implementation

Traits§

VirtualDatabase
Virtual database abstraction trait

Functions§

create_database
Create a virtual database instance based on the storage backend configuration