-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Labels
Milestone
Description
Can I cancel a query inside query.on('row'...?
I want to do something like:
query.on('row',function(row, result){
if(row.field1=='ok'){
result.addRow(row);
}else{
result.cancel(row, 'bla bla bla');
}
});
The need is to not continue fetching rows if I detect an error condition.
bilalaslamseattle and gajus