File tree 4 files changed +6
-13
lines changed
4 files changed +6
-13
lines changed Original file line number Diff line number Diff line change 2
2
3
3
High-performance asynchronous interface for SQLite on Dart & Flutter.
4
4
5
- | package | build | pub | likes | popularity | pub points |
6
- | ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- ------- |
7
- | sqlite_async | [ ![ build] ( https://github.com/powersync-ja/sqlite_async.dart/actions/workflows/test.yaml/badge.svg?branch=main )] ( https://github.com/powersync-ja/sqlite_async.dart/actions?query=workflow%3Atest ) | [ ![ pub package] ( https://img.shields.io/pub/v/sqlite_async.svg )] ( https://pub.dev/packages/sqlite_async ) | [ ![ likes] ( https://img.shields.io/pub/likes/powersync?logo=dart )] ( https://pub.dev/packages/sqlite_async/score ) | [ ![ popularity] ( https://img.shields.io/pub/popularity/sqlite_async?logo=dart )] ( https://pub.dev/packages/sqlite_async/score ) | [ ![ pub points] ( https://img.shields.io/pub/points/sqlite_async?logo=dart )] ( https://pub.dev/packages/sqlite_async/score ) |
8
- | drift_sqlite_async | [ ![ build] ( https://github.com/powersync-ja/sqlite_async.dart/actions/workflows/test.yaml/badge.svg?branch=main )] ( https://github.com/powersync-ja/sqlite_async/actions?query=workflow%3Atest ) | [ ![ pub package] ( https://img.shields.io/pub/v/drift_sqlite_async.svg )] ( https://pub.dev/packages/drift_sqlite_async ) | [ ![ likes] ( https://img.shields.io/pub/likes/drift_sqlite_async?logo=dart )] ( https://pub.dev/packages/drift_sqlite_async/score ) | [ ![ popularity] ( https://img.shields.io/pub/popularity/drift_sqlite_async?logo=dart )] ( https://pub.dev/packages/drift_sqlite_async/score ) | [ ![ pub points] ( https://img.shields.io/pub/points/drift_sqlite_async?logo=dart )] ( https://pub.dev/packages/drift_sqlite_async/score ) |
5
+ | package | build | pub | likes | popularity | pub points |
6
+ | ----------------| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| ------------------------------------------------------------------------------------------------------------| ----------------------------------------------------------------------------------------------------------------------| ------- | ------- |
7
+ | sqlite_async | [ ![ build] ( https://github.com/powersync-ja/sqlite_async.dart/actions/workflows/test.yaml/badge.svg?branch=main )] ( https://github.com/powersync-ja/sqlite_async.dart/actions?query=workflow%3Atest ) | [ ![ pub package] ( https://img.shields.io/pub/v/sqlite_async.svg )] ( https://pub.dev/packages/sqlite_async ) | [ ![ likes] ( https://img.shields.io/pub/likes/powersync?logo=dart )] ( https://pub.dev/packages/sqlite_async/score ) | [ ![ popularity] ( https://img.shields.io/pub/popularity/sqlite_async?logo=dart )] ( https://pub.dev/packages/sqlite_async/score ) | [ ![ pub points] ( https://img.shields.io/pub/points/sqlite_async?logo=dart )] ( https://pub.dev/packages/sqlite_async/score )
8
+ | drift_sqlite_async | [ ![ build] ( https://github.com/powersync-ja/sqlite_async.dart/actions/workflows/test.yaml/badge.svg?branch=main )] ( https://github.com/powersync-ja/sqlite_async/actions?query=workflow%3Atest ) | [ ![ pub package] ( https://img.shields.io/pub/v/drift_sqlite_async.svg )] ( https://pub.dev/packages/drift_sqlite_async ) | [ ![ likes] ( https://img.shields.io/pub/likes/drift_sqlite_async?logo=dart )] ( https://pub.dev/packages/drift_sqlite_async/score ) | [ ![ popularity] ( https://img.shields.io/pub/popularity/drift_sqlite_async?logo=dart )] ( https://pub.dev/packages/drift_sqlite_async/score ) | [ ![ pub points] ( https://img.shields.io/pub/points/drift_sqlite_async?logo=dart )] ( https://pub.dev/packages/drift_sqlite_async/score )
9
9
10
10
## Getting Started
11
11
12
12
This monorepo uses [ melos] ( https://melos.invertase.dev/ ) to handle command and package management.
13
13
14
14
To configure the monorepo for development run ` melos prepare ` after cloning.
15
15
16
- For detailed usage, check out the inner [ sqlite_async] ( https://github.com/powersync-ja/sqlite_async.dart/tree/main/packages/sqlite_async ) and [ drift_sqlite_async] ( https://github.com/powersync-ja/sqlite_async.dart/tree/main/packages/drift_sqlite_async ) packages.
16
+ For detailed usage, check out the inner [ sqlite_async] ( https://github.com/powersync-ja/sqlite_async.dart/tree/main/packages/sqlite_async ) and [ drift_sqlite_async] ( https://github.com/powersync-ja/sqlite_async.dart/tree/main/packages/drift_sqlite_async ) packages.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -12,9 +12,6 @@ import 'package:web/web.dart';
12
12
@JS ('navigator' )
13
13
external Navigator get _navigator;
14
14
15
- @JS ('AbortController' )
16
- external AbortController get _abortController;
17
-
18
15
/// Web implementation of [Mutex]
19
16
class MutexImpl implements Mutex {
20
17
late final mutex.Mutex fallback;
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ class DefaultSqliteOpenFactory
55
55
// cases, we need to implement a mutex locally.
56
56
final mutex = connection.access == AccessMode .throughSharedWorker
57
57
? null
58
- : MutexImpl ();
58
+ : MutexImpl (identifier : path); // Use the DB path as a mutex identifier
59
59
60
60
return WebDatabase (connection.database, options.mutex ?? mutex);
61
61
}
You can’t perform that action at this time.
0 commit comments