SQLite overhaul: custom value, query db command (#5247)

Clean up query errors
This commit is contained in:
Reilly Wood
2022-04-19 21:58:21 -07:00
committed by GitHub
parent c0ce1e9057
commit b501db673a
13 changed files with 519 additions and 207 deletions

View File

@ -109,7 +109,22 @@ fn parses_more_bson_complexity() {
// ╰───┴──────╯
#[test]
fn parses_sqlite() {
let actual = nu!(
cwd: "tests/fixtures/formats", pipeline(
r#"
open sample.db
| columns
| length
"#
));
assert_eq!(actual.out, "3");
}
#[test]
fn parses_sqlite_get_column_name() {
let actual = nu!(
cwd: "tests/fixtures/formats", pipeline(
r#"