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

deleting a row #39

Open
euliveiras opened this issue May 29, 2021 · 1 comment
Open

deleting a row #39

euliveiras opened this issue May 29, 2021 · 1 comment

Comments

@euliveiras
Copy link

euliveiras commented May 29, 2021

i can only delete a row when i use execute() method after delete(), but in guide/query-builder.html#delete

The only thing you need to do to perform DELETE query is by adding delete method to the query builder.

don't mention that.

it is normal or am i forgotten something?

sorry for my bad english

@akatechis
Copy link

I believe in all cases, in order to execute a query, you need to .execute() it. Otherwise it doesn't know when you're done chaining things like WHERE conditions, etc.

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