src/MVC/CDatabaseModel.php
public function execute($params = []){
    $this->db->execute($this->db->getSQL(), $params);
    $this->db->setFetchModeClass(__CLASS__);
    
    return $this->db->fetchAll();
  }
public function execute($params = []){
    $this->db->execute($this->db->getSQL(), $params);
    $this->db->setFetchModeClass(__CLASS__);
    
    return $this->db->fetchAll();
  }
Execute the query built

@Param   String    $query    Custom query
@Return  Object    $this