nushell/crates/nu-command/src/database/mod.rs

22 lines
476 B
Rust
Raw Normal View History

mod commands;
mod expressions;
mod values;
use commands::add_commands_decls;
use expressions::add_expressions_decls;
pub use values::{
2022-05-01 14:44:29 +02:00
convert_sqlite_row_to_nu_value, convert_sqlite_value_to_nu_value, open_connection_in_memory,
SQLiteDatabase,
};
use nu_protocol::engine::StateWorkingSet;
pub fn add_database_decls(working_set: &mut StateWorkingSet) {
add_commands_decls(working_set);
add_expressions_decls(working_set);
}
#[cfg(test)]
mod test_database;