puppetlabs/puppetdb — pull request #900 by dalen (2014-03-26 17:31:27+00:00)
Title: Add subqueries to events query endpoint

not sure if this is the cleanest way to implement it. seems like the other endpoints have a ton of stuff directly in query.clj. but imported the required stuff here instead.