pub fn destructure_db(prim: &str, arg: Option<&Value>) -> Result<DbRef, Throw>Expand description
Destructure a db value, accepting a bare conn Int (treated as the current
db: basis_tx left 0, as-of/since nil — backends re-read the live basis
when they need it). A db map carries its conn, basis, and temporal bound.