Struct mentat_cli::repl::Repl
[−]
[src]
pub struct Repl { /* fields omitted */ }
Executes input and maintains state of persistent items.
Methods
impl Repl
[src]
impl Repl
pub fn db_name(&self) -> String
[src]
pub fn db_name(&self) -> String
pub fn new() -> Result<Repl, String>
[src]
pub fn new() -> Result<Repl, String>
Constructs a new Repl
.
pub fn run(&mut self, startup_commands: Option<Vec<Command>>)
[src]
pub fn run(&mut self, startup_commands: Option<Vec<Command>>)
Runs the REPL interactively.
pub fn explain_query(&self, query: String)
[src]
pub fn explain_query(&self, query: String)
pub fn execute_transact(&mut self, transaction: String)
[src]
pub fn execute_transact(&mut self, transaction: String)