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:
Fernando Herrera
2022-04-24 10:29:21 +01:00
committed by GitHub
parent c20ba95885
commit e94d13da1b
25 changed files with 845 additions and 223 deletions

View File

@ -108,8 +108,8 @@ fn parses_more_bson_complexity() {
// │ 4 │ │
// ╰───┴──────╯
#[cfg(feature = "database")]
#[test]
fn parses_sqlite() {
let actual = nu!(
cwd: "tests/fixtures/formats", pipeline(
@ -123,6 +123,7 @@ fn parses_sqlite() {
assert_eq!(actual.out, "3");
}
#[cfg(feature = "database")]
#[test]
fn parses_sqlite_get_column_name() {
let actual = nu!(