0
有没有办法知道在某个Builder对象中是否应用了与某个表的连接。例如,如果我加入这样的经验表Laravel知道连接是否已经应用
$clients = new Client;
if(some conditions)
{
$clients->join('experiences', 'experiences.client_id', '=', 'clients.id');
}
后来在我的代码中,我需要知道是否应用与表体验的联接。有什么办法可以将连接应用到$ clients?