2022-04-24 11:29:21 +02:00
|
|
|
mod commands;
|
2022-06-21 19:14:29 +02:00
|
|
|
mod expressions;
|
2022-04-24 11:29:21 +02:00
|
|
|
mod values;
|
2022-04-20 06:58:21 +02:00
|
|
|
|
2022-06-21 19:14:29 +02:00
|
|
|
use commands::add_commands_decls;
|
|
|
|
use expressions::add_expressions_decls;
|
|
|
|
|
2022-04-26 21:20:59 +02:00
|
|
|
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,
|
2022-04-26 21:20:59 +02:00
|
|
|
};
|
2022-06-21 19:14:29 +02:00
|
|
|
|
|
|
|
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;
|