Cancel long sqlite query via UniDac
Posted: Tue 30 Sep 2014 10:14
I have an application where users can create their own queries using complex joins. Occasionally someone will create a query that is too complex (a Cartesian join) so I would like an option to allow them to cancel the current query if it is taking too long to process.
I am using UniDac but (at the moment) only using SQLite and only perform queries that return datasets, I do not update or change any data.
I see that sqlite provide an sqlite3_interrupt() routine that would seem to do exactly what I need.
so can I cancel a UniQuery “select * from “ via UniDac ?
Thanks
I am using UniDac but (at the moment) only using SQLite and only perform queries that return datasets, I do not update or change any data.
I see that sqlite provide an sqlite3_interrupt() routine that would seem to do exactly what I need.
so can I cancel a UniQuery “select * from “ via UniDac ?
Thanks