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

"-qexec" argument for advanced queries #79

Open
fekad opened this issue Nov 15, 2019 · 3 comments
Open

"-qexec" argument for advanced queries #79

fekad opened this issue Nov 15, 2019 · 3 comments
Labels
enhancement New feature or request

Comments

@fekad
Copy link
Contributor

fekad commented Nov 15, 2019

The "-qexec" is a new argument which should contain a logical (python) expression. After pre-filtering the database by the standard queries this expression will be checked for each configuration. A temporarily derived key can be stored (eg: _cache) than can be used for the actual query. Finally, the key must be deleted.
it has to be implemented for download, summary, show, add-key, rename-key, delete-key command-line options

@fekad fekad added the enhancement New feature or request label Nov 15, 2019
@fekad
Copy link
Contributor Author

fekad commented Nov 15, 2019

@gabor1 There is a side effect: Because we have to store the key in the database in the "modified" date will change every time when the query is used.

@gabor1
Copy link
Contributor

gabor1 commented Nov 15, 2019 via email

@gelzinyte
Copy link
Contributor

Some queries might be relevant to many people using abcd (e.g. filter by max force component), so it might be nice to have (an option to add?) some predefined (-qexec) queries.

Similarly, it might be nice to read a -qexec query from a script to speed everything up (similarly to ase convert -e or -E)

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

3 participants