public function updateRelationships($table, $relationships, $allow_delete_parts = false, $return_schema = false)
    {
        $relationships = static::validateAsArray(
            $relationships,
            ',',
            true,
            'The request contains no valid table relationship names or properties.'
        );

        $out = [];
        foreach ($relationships as $relationship) {
            $name = (is_array($relationship)) ? array_get($relationship, 'name') : $relationship;
            $this->validateSchemaAccess($table, Verbs::PUT);
            $out[] = $this->updateRelationship($table, $name, $relationship, $allow_delete_parts, $return_schema);
        }

        return $out;
    }