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

Prepared statement support for SQL Server #78

Merged
merged 1 commit into from
Jan 29, 2017
Merged

Conversation

mbabker
Copy link
Contributor

@mbabker mbabker commented Jan 29, 2017

Summary of Changes

This completes having all of the package's drivers support prepared statements by adding support for the driver it was missing in; SQL Server.

Testing Instructions

Use the testExecutePreparedStatement case as an example of how to bind variables for use in a prepared query.

Documentation Changes Required

N/A

@photodude
Copy link
Contributor

photodude commented Jan 29, 2017

I suggest we kill the composer cache in the .appveyor.yml file I think that is the root of the
"./composer.lock" does not contain valid JSON failure see PR #79

@mbabker mbabker requested a review from wilsonge January 29, 2017 19:14
@mbabker
Copy link
Contributor Author

mbabker commented Jan 29, 2017

@wilsonge Review/Merge this so we can finally tag a release here.

{
$array = array();
$bounded =& $this->sql->getBounded();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the reason for this being via reference?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To be perfectly honest, not a clue. It's how the other implementations do it though, so I assume there was a reason at some point.

@wilsonge wilsonge merged commit c0fb439 into master Jan 29, 2017
@wilsonge wilsonge deleted the sqlsrv-prepared branch January 29, 2017 23:28
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.

3 participants