Stop query execution after timeout #86

fatshotty opened this Issue Sep 18, 2012 · 0 comments


None yet

1 participant


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:

Query = this.query().select("*").from("books").where("name='my book name'");
  Query.stop()  // stop execution of the query
}, 5000);

Thanks in advance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment