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

Set PDO ATTR_EMULATE_PREPARES to false. #87

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Set PDO ATTR_EMULATE_PREPARES to false. #87

wants to merge 1 commit into from

Conversation

KevBelisle
Copy link

This stops PDO from adding single quotes around integer values.
See bug here: https://bugs.php.net/bug.php?id=44639

This stops PDO from adding single quotes around integer values.
See bug here: https://bugs.php.net/bug.php?id=44639
@jmathai
Copy link
Owner

jmathai commented Feb 16, 2014

Thanks for the PR. I'm not familiar with ATTR_EMULATE_PREPARES but it sounds like it might make sense to include it (optionally or by default - unsure which).

Here's a thread on the topic, http://stackoverflow.com/a/10455228/1318758

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

Successfully merging this pull request may close these issues.

2 participants