[sqlite] Can I terminate queries in SQL functions

2016-04-19 Thread Richard Hipp
On 4/19/16, Nikos Tsikoudis wrote: > On 4/19/2016 8:25 PM, Richard Hipp wrote: >> https://www.sqlite.org/c3ref/interrupt.html >> >> Or have your function throw an error using sqlite3_result_error() - >> https://www.sqlite.org/c3ref/result_blob.html >> > That works but in the function I update anot

[sqlite] Can I terminate queries in SQL functions

2016-04-19 Thread Nikos Tsikoudis
On 4/19/2016 8:25 PM, Richard Hipp wrote: > On 4/19/16, Nikolaos Tsikoudis wrote: >> Hi, >> >> I'm wondering if there is a way to stop the query I execute in a SQL >> Function, the one you create by using the sqlite3_create_function >> functions.I >> have created a SQL function which is called f

[sqlite] Can I terminate queries in SQL functions

2016-04-19 Thread Richard Hipp
On 4/19/16, Nikolaos Tsikoudis wrote: > Hi, > > I'm wondering if there is a way to stop the query I execute in a SQL > Function, the one you create by using the sqlite3_create_function > functions.I > have created a SQL function which is called for every tuple returned by my > queries and I would

[sqlite] Can I terminate queries in SQL functions

2016-04-19 Thread Nikolaos Tsikoudis
Hi, I'm wondering if there is a way to stop the query I execute in a SQL Function, the one you create by using the sqlite3_create_function functions.I have created a SQL function which is called for every tuple returned by my queries and I would like the query to stop when a statement in the funct