mirror of
https://github.com/nushell/nushell.git
synced 2024-12-11 17:51:50 +01:00
7164929c61
* database commands without db * database command tests
22 lines
476 B
Rust
22 lines
476 B
Rust
mod commands;
|
|
mod expressions;
|
|
mod values;
|
|
|
|
use commands::add_commands_decls;
|
|
use expressions::add_expressions_decls;
|
|
|
|
pub use values::{
|
|
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;
|