src/Leevel/Database/Ddd/Select.php
protected function isNested(string $name, string $relation): bool
    {
        return contains($name, '.') && starts_with($name, $relation.'.');
    }
protected function isNested(string $name, string $relation): bool
    {
        return contains($name, '.') && starts_with($name, $relation.'.');
    }
判断是否存在嵌套关联.

@param string $name
@param string $relation

@return bool