1
1
mirror of https://github.com/wader/fq.git synced 2024-12-23 05:13:30 +03:00
fq/pkg/interp/query.jq.test
2022-12-05 20:52:27 +01:00

14 lines
249 B
Plaintext

.[] | _query_fromstring | _query_pipe_last | _query_tostring
["", ".", "a", "1, 2", "1 | 2", "1 | 2 | 3", "(1 | 2) | 3", "1 | (2 | 3)", "1 as $_ | 2", "def f: 1; 1", "def f: 1; 1 | 2"]
"."
"."
"a"
"1, 2"
"2"
"3"
"3"
"(2 | 3)"
"2"
"def f: 1; 1"
"2"