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

Add a DB::execute($query) to execute unprepared queries #54

Closed
wants to merge 2 commits into from
Closed

Add a DB::execute($query) to execute unprepared queries #54

wants to merge 2 commits into from

Conversation

antonioribeiro
Copy link
Contributor

In some DMBS DDL statements (like CREATE TRIGGER in MySQL) needs to be run unprepared, as shown in issue #53.

In some DMBS DDL statements needs to be run unprepared, as shown in this issue: #53.
Creating test for proposed execute() method.
@taylorotwell
Copy link
Member

Implemented as DB::unprepared. Thanks.

@jonathanpmartins
Copy link
Contributor

Very helpful here!

@kyonkopa
Copy link

kyonkopa commented Jan 7, 2017

But then some complex queries involving temporary tables and other will not work with any of the DB raw methods but works fine in console even with unprepared, other than just returning bool

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.

4 participants