ooici/pyon — pull request #101 by lukecampbell (2012-05-24 18:32:11+00:00)
Title: CouchDB bulk association determination

Primarily intended to speed up and improve overall performance for association traversal in discovery.

`find_associations_mult` provides the capability to determine all the associations and objects belonging to a list of resources in a single query to CouchDB

```
><> org_id = '76f054f625804ee9a7198c2404c798fa'

><> org_manager = 'be31988aca3e495cbc9297741e2250d1'

><> pn.resource_registry.find_associations_mult([org_id])
-->
[,
,
,
,
]

><> pn.resource_registry.find_as
pn.resource_registry.find_associations pn.resource_registry.find_associations_mult

><> pn.resource_registry.find_associations_mult([org_id, org_manager])
-->
[,
,
,
,
,
]

```