camptocamp / terradb

A unified database for Terraform data
Apache License 2.0
26 stars 8 forks source link

Create a query language #21

Open mcanevet opened 5 years ago

mcanevet commented 5 years ago

At some point we'll probably need a nice query language so that we can fetch informations from the TerraDB (Like PuppetDB has PQL).

mcanevet commented 5 years ago

Maybe we can just use jq language or jsonpath on server side so that we can do something like that:

GET /states?jq='...'

or

GET /states?jsonpath='...'