pub type Compute = Box<dyn Fn(&Db) -> DResult>;
compute a derived query’s value, reading other queries through the database
pub struct Compute(/* private fields */);