Library/Bullhorn/FastRest/Api/Models/Base.php
public function selectReadConnection() {
        $transaction = new Transaction($this->getReadConnectionService());
        if($transaction->isInTransaction()) {
            return $transaction->getTransaction()->getConnection();
        } else {
            return $this->getReadConnection();
        }
    }
public function selectReadConnection() {
        $transaction = new Transaction($this->getReadConnectionService());
        if($transaction->isInTransaction()) {
            return $transaction->getTransaction()->getConnection();
        } else {
            return $this->getReadConnection();
        }
    }
public function selectReadConnection ( ) { $ transaction = new Transaction ( $ this -> getReadConnectionService ( ) ) ; if ( $ transaction -> isInTransaction ( ) ) { return $ transaction -> getTransaction ( ) -> getConnection ( ) ; } else { return $ this -> getReadConnection ( ) ; } }
Used to be able to make a call inside of a transaction
@return \Phalcon\Db\AdapterInterface
Used to be able to make a call inside of a transaction