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

available operators? #17

Closed
judell opened this issue Nov 21, 2023 · 1 comment
Closed

available operators? #17

judell opened this issue Nov 21, 2023 · 1 comment
Milestone

Comments

@judell
Copy link
Collaborator

judell commented Nov 21, 2023

./github_dump github_issue --select repository_full_name,url --where "repository_full_name = 'turbot/steampipe-plugin-github'" --config 'token="ghp_..."'

Works because respository_full_name is a keycolumn, right?

If I pick an obviously unsupported operater I get a clue about which ones I can use.

 ./github_dump github_issue --select repository_full_name,url --where "repository_full_name regexp 'turbot/steampipe-plugin'" --config 'token="ghp_"'
failed to parse 'where' property: 1:22 (21): no match found, expected: "!=", "->", "<", "<=", "<>", "=", ">", ">=", "and"i, "ilike"i, "in"i, "is"i, "like"i, "not"i, "or"i, [ \n\t\r] or EOF

It says I can use like and ilike but:

./github_dump github_issue --select repository_full_name,url --where "repository_full_name like '%turbot/steampipe-plugin%'" --config 'token="ghp_"'
failed to convert 'where' arg to qual
@binaek
Copy link
Contributor

binaek commented Nov 24, 2023

This will be handled as part of #9

@binaek binaek closed this as completed Nov 24, 2023
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

3 participants