Support the ongoing development of →
posted 7 years ago
Last updated 2 years ago.

You mean you have multiple queries running and wants to rollback if one of them fails ? You can use transactions to do this.


I have an ajax who call a method wich running a big query. I want somethig like the user close the modal send another ajax to stop previous running query. I found something regarding mysql connection_id who return the process id of query and after send over sql command kill process_id. But didn't work the query still run in background. Thank a lot


Sign in to participate in this thread!


Your banner here too?


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 - All rights reserved.