LazyRecord\BaseModel::getReadQueryDriver PHP 메소드

getReadQueryDriver() 공개 메소드

Get SQL Query driver object for reading data.
public getReadQueryDriver ( ) : SQLBuilder\QueryDriver
리턴 SQLBuilder\QueryDriver
    public function getReadQueryDriver()
    {
        if ($this->_readQueryDriver) {
            return $this->_readQueryDriver;
        }
        return $this->_readQueryDriver = ConnectionManager::getInstance()->getQueryDriver($this->readSourceId);
    }