[sqlalchemy] Abort Query

2015-05-11 Thread Warwick Prince
Hi If I execute a query, is there a way to abort that query and release the server before the query completes? e.g. theTable = Table(‘some_large_table’, metadata, autoload=True) query = theTable.select() results = query.execute().fetchall() Is there a way that perhaps another thread, if

Re: [sqlalchemy] Abort Query

2015-05-11 Thread Mike Bayer
I found this: http://stackoverflow.com/a/325528/34549 also Alex Martelli is pretty -1 on the whole idea: http://stackoverflow.com/a/1227814/34549 I'm not sure what else you'd have in mind other than interrupting the thread from the outside. On 5/11/15 2:36 AM, Warwick Prince wrote: Hi