forked from extern/nushell
Database commands (#5307)
* database commands * db commands * filesystem opens sqlite file * clippy error * corrected error in ci file * removes matrix flag from ci * flax matrix for clippy * add conditional compile for tests * add conditional compile for tests * correct order of command * correct error msg * correct typo
This commit is contained in:
@ -23,6 +23,11 @@ pub fn create_default_context(cwd: impl AsRef<Path>) -> EngineState {
|
||||
#[cfg(feature = "dataframe")]
|
||||
add_dataframe_decls(&mut working_set);
|
||||
|
||||
// Database-related
|
||||
// Adds all related commands to query databases
|
||||
#[cfg(feature = "database")]
|
||||
add_database_decls(&mut working_set);
|
||||
|
||||
// Core
|
||||
bind_command! {
|
||||
Alias,
|
||||
@ -361,11 +366,6 @@ pub fn create_default_context(cwd: impl AsRef<Path>) -> EngineState {
|
||||
ViewSource,
|
||||
};
|
||||
|
||||
// Database-related
|
||||
bind_command! {
|
||||
QueryDb
|
||||
};
|
||||
|
||||
// Deprecated
|
||||
bind_command! {
|
||||
PivotDeprecated,
|
||||
|
Reference in New Issue
Block a user