LazyRecord\ConnectionManager::getQueryDriver PHP Method

getQueryDriver() public method

Get SQLBuilder\QueryDriver by data source id.
public getQueryDriver ( string $id ) : LazyRecord\QueryDriver
$id string datasource name
return LazyRecord\QueryDriver
    public function getQueryDriver($id)
    {
        $self = $this;
        return $this->getConnection($id)->createQueryDriver();
    }