Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hello #30

Open
tolgaakardeniz opened this issue Jun 5, 2020 · 1 comment
Open

Hello #30

tolgaakardeniz opened this issue Jun 5, 2020 · 1 comment

Comments

@tolgaakardeniz
Copy link

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;
	}
@jjasoncool
Copy link
Contributor

Can you explain why and you have any issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants