def all_docs_from_collection(client, collname, copy=True):
    'Yield all entries in for all collections of a given name in a given\n    database. '
    (yield from client.all_documents(collname, copy=copy))
Yield all entries in for all collections of a given name in a given
database.
def all_docs_from_collection(client, collname, copy=True):
    'Yield all entries in for all collections of a given name in a given\n    database. '
    (yield from client.all_documents(collname, copy=copy))