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

need documentation for command line query synteax #97

Open
bernstei opened this issue Jul 11, 2020 · 1 comment
Open

need documentation for command line query synteax #97

bernstei opened this issue Jul 11, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@bernstei
Copy link

The command line interface does not seem to have any documentation of the format for queries (in particular I'm wondering about filtering on the value of a particular array element).

@gabor1
Copy link
Contributor

gabor1 commented Jul 13, 2020

um.. yes. actually this is something I really wanted to do, but abcd does not yet support inspecting array elements. it's a question of the parser, for doing it quickly as a direct database query. there is a slow alternative, which I definitely want to put in as part of the summer abcd hackathon, which is "execquery", modelled on the current "exec" subcommand. It would be a piece of python that gets executed for each configuration that matches all the other filters, and when returns true, is used to filter further before other actions are taken on the resulting config set.

@gabor1 gabor1 added the enhancement New feature or request label Jan 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants