src/Resources/DbSchemaResource.php
public function describeRelationship($table, $relationship, $refresh = false)
    {
        if (empty($table)) {
            throw new BadRequestException('Table name can not be empty.');
        }

        try {
            $result = $this->describeTableRelationships($table, $relationship, $refresh);

            return array_get($result, 0);
        } catch (RestException $ex) {
            throw $ex;
        } catch (\Exception $ex) {
            throw new InternalServerErrorException("Error describing database table '$table' relationship '$relationship'.\n" .
                $ex->getMessage(), $ex->getCode());
        }
    }
public function describeRelationship($table, $relationship, $refresh = false)
    {
        if (empty($table)) {
            throw new BadRequestException('Table name can not be empty.');
        }

        try {
            $result = $this->describeTableRelationships($table, $relationship, $refresh);

            return array_get($result, 0);
        } catch (RestException $ex) {
            throw $ex;
        } catch (\Exception $ex) {
            throw new InternalServerErrorException("Error describing database table '$table' relationship '$relationship'.\n" .
                $ex->getMessage(), $ex->getCode());
        }
    }
Get any properties related to the table field

@param string $table        Table name
@param string $relationship Table relationship name
@param bool   $refresh      Force a refresh of the schema from the database

@return array
@throws \Exception