Please change this if ($statement === 'select' || $statement === 'show' || $statement === 'call' || $statement === 'describe') { $fetchReturn = $this->sQuery->fetchAll($fetchMode); $this->sQuery->closeCursor(); return $fetchReturn; } elseif ($statement === 'insert' || $statement === 'update' || $statement === 'delete') { return $this->sQuery->rowCount(); } else { return NULL; }
Activity
jjasoncool commentedon Nov 27, 2020
Can you explain why and you have any issue?