valve

Function valve 

Source
pub async fn valve(
    table_table: &str,
    database: &str,
    command: &ValveCommand,
    verbose: bool,
    config_table: &str,
) -> Result<String, Error>
Expand description

Given a path to a configuration table (either a table.tsv file or a database containing a table named “table”), and a directory in which to find/create a database: configure the database using the configuration which can be looked up using the table table, and optionally create and/or load it according to the value of command (see ValveCommand). If the verbose flag is set to true, output status messages while loading. If config_table is given and table_table indicates a database, query the table called config_table for the table table information. Returns the configuration map as a String.