Gets all documents in database

        :param with_id: True iff each document should also come with its id
        :return: List of documents in collection in database

def get_documents_in_database(self, with_id=True):
        """Gets all documents in database

        :param with_id: True iff each document should also come with its id
        :return: List of documents in collection in database
        """
        documents = []
        for coll in self.get_collection_names():
            documents += self.get_documents_in_collection(
                coll,
                with_id=with_id
            )

        return documents