PHP-PDO-MySQL-Class icon indicating copy to clipboard operation
PHP-PDO-MySQL-Class copied to clipboard

Hello

Open tolgaakardeniz opened this issue 4 years ago • 1 comments

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;
	}

tolgaakardeniz avatar Jun 05 '20 21:06 tolgaakardeniz

Can you explain why and you have any issue?

jjasoncool avatar Nov 27 '20 06:11 jjasoncool