Skip to main content

Module traits

Module traits 

Source
Expand description

The NodeDb trait: unified query interface for both Origin and Lite.

Application code writes against this trait once. The runtime determines whether queries execute locally (in-memory engines on Lite) or remotely (pgwire to Origin).

All methods are async — on native this runs on Tokio, on WASM this runs on wasm-bindgen-futures.

Traits§

NodeDb
Unified database interface for NodeDB.