Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DSL select doesn't handle operators other than assignment = #65

Closed
sckott opened this issue Mar 6, 2018 · 0 comments
Closed

DSL select doesn't handle operators other than assignment = #65

sckott opened this issue Mar 6, 2018 · 0 comments
Milestone

Comments

@sckott
Copy link
Collaborator

sckott commented Mar 6, 2018

e.g.,

'[{"foo": 5, "bar": 7}, {"foo": 4, "bar": 7}]' %>% index() %>% select(.foo == 4)
#> Error: jq: error: syntax error, unexpected '(', expecting '}' (Unix shell quoting issues?) at <top-level>, line 1:
#> .[] | {c("==", ".foo", "4")}

so we're clearly not treating the == as we should - see logic in do() method

@sckott sckott added this to the v1.1 milestone Mar 6, 2018
@sckott sckott mentioned this issue Mar 6, 2018
@sckott sckott closed this as completed in c161c8e Mar 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant