Skip to main content

run_asof

Function run_asof 

Source
pub fn run_asof(
    db_dir: &Path,
    commit: Option<u64>,
    at: Option<&str>,
    query: Option<&str>,
    namespace: Option<&str>,
) -> Result<String, CliError>
Expand description

Execute an as-of query at the given commit and print results.

namespace restricts the read to one namespace as it was at that commit — a namespace cannot change, so that is simply the nodes which existed then and are in it. A name no node uses answers with nothing, never with everything.