Hi there
This is just a thought...
The current implementation of the event driven BANanoSQL has a callback method for .Execute being
If perhaps one could have an extra call e.g.
, this being an extra method that one can specify the callback method to run. Currently with .Execute, one is using a Tag variable to determine the last execute.
The callback could be
The advantage with this is less complexity as one could loose track with the tagging where a lot of queries are concerned.
Is something like this possible?
This is just a thought...
The current implementation of the event driven BANanoSQL has a callback method for .Execute being
B4X:
Sub SQL_SQLExecuteResult(Tag As String, Result As List)
If perhaps one could have an extra call e.g.
B4X:
.Execute1(qry,args,BANano.CallBack(DoThis))
, this being an extra method that one can specify the callback method to run. Currently with .Execute, one is using a Tag variable to determine the last execute.
The callback could be
B4X:
Sub DoThis(Result As List)
....
.Execute1(qry,arg,BANano.CallBack(DoSomethingElse))
End Sub
Sub DoSomethingElse(Result As List)
....
.Execute1(qry,args,Bye)
ENd Sub
The advantage with this is less complexity as one could loose track with the tagging where a lot of queries are concerned.
Is something like this possible?