darkfi_sdk::wasm::db

Function db_lookup

Source
pub fn db_lookup(
    contract_id: ContractId,
    db_name: &str,
) -> GenericResult<DbHandle>
Expand description

Everyone can call this. Assumes that the database already went through db_init().