puppetlabs/puppetdb — pull request #365 by nicklewis (2012-11-29 20:01:45+00:00)
Title: Add subquery support for nodes

This works exactly as for facts and resources. There is no "select-nodes" operator, however, as "extract" provides effectively the same functionality.

Also, the v2 node query API now supports queries on "name", referring to the name of the node.