Skip to main content

Crate photon_backend_sqlite

Crate photon_backend_sqlite 

Source
Expand description

SQLite embedded StoragePort for durable single-process Photon.

Wire with PhotonBuilder::storage_port after SqliteStoragePort::from_env or SqliteStoragePort::open.

Structs§

SqliteStoragePort
Embedded SQLite storage for the sqlite adapter tier.

Constants§

PATH_ENV
Environment variable for the SQLite database file path.

Functions§

sqlite_path_from_env
Resolve database path from PATH_ENV, or a unique file under the system temp dir.