src/Budkit/Datastore/Drivers/MySQLi/Driver.php
public function query($sql, $execute = FALSE)
    {

        $query = (empty($sql)) ? $this->query : $sql;
        $this->transactions[] = $this->replacePrefix($query); //just for reference

        //@TODO;
        if ($execute) {
            $this->exec($query);
        }

        return true;
    }
public function query($sql, $execute = FALSE)
    {

        $query = (empty($sql)) ? $this->query : $sql;
        $this->transactions[] = $this->replacePrefix($query); //just for reference

        //@TODO;
        if ($execute) {
            $this->exec($query);
        }

        return true;
    }
public function query ( $ sql , $ execute = FALSE ) { $ query = ( empty ( $ sql ) ) ? $ this -> query : $ sql ; $ this -> transactions [ ] = $ this -> replacePrefix ( $ query ) ; //just for reference //@TODO; if ( $ execute ) { $ this -> exec ( $ query ) ; } return true ; }
This method is intended for use in transsactions

@param type $sql
@param type $execute
@return boolean
This method is intended for use in transsactions