sqlite_async.dart
sqlite_async.dart copied to clipboard
Deprecate global mutex
Builds on #34.
Deprecates our global per-database mutex, instead relying on SQLite's built-in locking mechanism (mark as deprecated, not removed).
To avoid breaking changes, new lock
and transaction
methods are added, which avoids our global mutex, as well as simplifying the APIs a little (most of the time only writeTransaction
was used).