puppetlabs/puppetdb — pull request #344 by nicklewis (2012-11-05 22:19:32+00:00)
Title: Add support for resource subqueries

This allows resource queries to include subqueries on both resources and facts. It also includes some refactors of how queries are built, consolidating some operators in a `com.puppetlabs.puppetdb.query` namespace. Also, `in-result` and `project` now no longer take namespaced arguments to project/correlate on, and don't support `node`, for consistency. Subqueries remain unsupported for v1 resource queries.