Example #1
0
 /**
  * @param array $columnsVal
  * @param bool $runExecute
  * @return $this|mixed
  */
 public function insert(array $columnsVal, $runExecute = false)
 {
     $this->query->insert($columnsVal);
     if ($runExecute) {
         $status = $this->execute(false);
         $this->clear();
         return $status;
     }
     return $this;
 }