Open laurent22 opened 6 months ago
Hi,
I just tested and I confirm transaction are not rollback on Android (it work fine on iOS).
I've created a fork of this repository that bring multiple things:
I hope that this fork will become the new reference for using SQLite with react native and will be regularly updated.
Do you have any idea of how to address this issue ? Or, alternatively, a direction in which to look for a solution (in which file it happens, for example) ? If possible I would be glad to add a fix in the fork.
The fork: https://www.npmjs.com/package/@boltcode/react-native-sqlite-storage
If you want to understand what I've done in this fork, there is a documentation about it.
Have a good day.
I'm trying to get transactions to work using this library, but some reason rollback is not working. My expectation is that if any statement in the transaction failed, the whole transaction should be rollbacked. Instead it appears to commit all statements except the failed one.
Below is my test code. Any idea what might be the issue?