-
Type:
Improvement
-
Status: Closed
-
Priority:
Normal
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: PDB 3.0.0
-
Component/s: None
-
Labels:None
-
Template:customfield_10700 80120
-
Story Points:2
-
Sprint:PuppetDB 2015-05-20
As described in http://hashrocket.com/blog/posts/faster-json-generation-with-postgresql we can (and probably should) use subselects to generate responses via the row_to_json in the query-recs in the query-engine which have proper key name so that we don't need to rename keys in clojure code, e.g. `f1` -> `hash`.