I should execute a query like this:
select * from books where name='my book name' and author='my author name'
I have set a timeout to 5 seconds (client side) because this query can take more than 5 seconds.
Unfortunately query continues running although I've terminate my request.
I wonder is there a way to stop the execution of the Query?
I mean, is there a way to do something like this:
Query = this.query().select("*").from("books").where("name='my book name'");
setTimeout(function(){
Query.stop() // stop execution of the query
}, 5000);
Hello there,
I should execute a query like this:
select * from books where name='my book name' and author='my author name'
I have set a timeout to 5 seconds (client side) because this query can take more than 5 seconds.
Unfortunately query continues running although I've terminate my request.
I wonder is there a way to stop the execution of the Query?
I mean, is there a way to do something like this:
Thanks in advance