puppetlabs/puppetdb — pull request #345 by nicklewis (2012-11-07 23:53:01+00:00)
Title: De-namespace query terms, and rename "fact" to "name"

The namespacing here serves no real purpose, so it's removed except where it makes sense. Those cases are currently many-to-one relationships (`["fact" "]` and `["parameter" ]`) and `["node" "active"]`. Also standardized in a couple of places on querying against node name using `"certname"` rather than `["node" "name"]`. Eventually that will be renamed to `"node"`, ideally, but for now it's more consistent.

The `fact` column of `certname_facts` is now `name`, for consistency with other tables such as `resource_params`, and to avoid having strange cases where we sometimes refer to it as `fact` and other times as `name`.