    def collection(self, name):
        """Return a lazy object that can be used to compose a query.

        Args:
            name (str): the name of the collection to query.
        """
        return self.query()[self.dbname][name]
Return a lazy object that can be used to compose a query.

Args:
name (str): the name of the collection to query.
bigchaindb/backend/localmongodb/connection.py