def METHOD_NAME(case):
    fields = [
        case.id,
        case.case_id,
        case.domain,
        case.type,
        case.owner_id,
        case.opened_on,
        case.opened_by,
        case.modified_on,
        case.server_modified_on,
        case.modified_by,
        case.closed,
        case.closed_on,
        case.closed_by,
        case.deleted,
        case.external_id,
        json.dumps(case.case_json, cls=JSONEncoder),
        case.name,
        case.location_id,
        case.deleted_on,
        case.deletion_id,
    ]
    return ObjectAdapter(fields, CommCareCase._meta.db_table)