Add select

This commit is contained in:
JT
2021-10-02 17:55:05 +13:00
parent 7899745c4b
commit 6b76dd7cd7
6 changed files with 213 additions and 2 deletions

View File

@ -409,3 +409,11 @@ fn get() -> TestResult {
"B",
)
}
#[test]
fn select() -> TestResult {
run_test(
r#"([[name, age]; [a, 1], [b, 2]]) | select name | get 1 | get name"#,
"b",
)
}