pub fn ask_with_database(
db: &Database,
question: &str,
config: &AskConfig,
) -> Result<AskResponse, AskError>Expand description
Same as ask, but takes the engine’s &Database directly.
Used by the REPL binary’s .ask meta-command, which holds a
&mut Database rather than a &Connection.