Conversation
Hi @ospfranco . A Very nice feature. Sure, I will do my tests tonight, I have several async transactions here with hundreds of SQL Statements where I can try your code! |
|
@EduFrazao did you have some time to test this? |
Hi @ospfranco . I'm really sorry but one of applications (that makes heavy use of quick-sqlite) has been deployed in production this week, replacing an old Cordova/IONIC. This has been a busy week. I wil do my best to test this changes today and let you know. Sorry for this delay. |
|
no worries :D good luck with the release! |
| ) => StatementResult; | ||
| detach: (mainDbName: string, alias: string) => StatementResult; | ||
| transaction: (dbName: string, fn: (tx: Transaction) => boolean) => void; | ||
| asyncTransaction: ( |
There was a problem hiding this comment.
Could you add the asyncTransaction method to IDBConnection to keep it feature equivalent with ISQLite?
EduFrazao
left a comment
There was a problem hiding this comment.
Hi @ospfranco. Sorry for the late response. I've made many tests with a bunch of large transactions running on the Async API and everything seems fine.
I only added asyncTransaction to IDBConnection because I like to use it on my projects, as I use a wrapper around a opened connections that holds a reference to it.
Added AsyncTransaction API for IBConnection interface
closes #43
@EduFrazao can you test if it is working properly on your end?