def METHOD_NAME(cls):
    """
    Get all documents.
    :return: List of objects.
    :rtype: list
    """
    with cls._rdb_context():
        return [
            cls(document_id)
            for document_id in r.table(cls._rdb_table)["id"].run(
                cls._rdb_connection
            )
        ]