cotton icon indicating copy to clipboard operation
cotton copied to clipboard

deleting a row

Open euliveiras opened this issue 4 years ago • 1 comments

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

euliveiras avatar May 29 '21 01:05 euliveiras

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.

akatechis avatar Oct 23 '22 17:10 akatechis