-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from journeyapps/feature/concurrent-transactions
[Feature] Concurrent DB Connections and Transactions
- Loading branch information
Showing
12 changed files
with
230 additions
and
170 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
'@journeyapps/powersync-sdk-react-native': patch | ||
'@journeyapps/powersync-sdk-common': patch | ||
--- | ||
|
||
Updated logic to correspond with React Native Quick SQLite concurrent transactions. Added helper methods on transaction contexts. | ||
|
||
API changes include: | ||
- Removal of synchronous DB operations in transactions: `execute`, `commit`, `rollback` are now async functions. `executeAsync`, `commitAsync` and `rollbackAsync` have been removed. | ||
- Transaction contexts now have `get`, `getAll` and `getOptional` helpers. | ||
- Added a default lock timeout of 2 minutes to aide with potential recursive lock/transaction requests. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@journeyapps/powersync-sdk-react-native': patch | ||
--- | ||
|
||
Update README polyfill command. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@journeyapps/powersync-sdk-common': patch | ||
--- | ||
|
||
Fix update trigger for local only watched tables. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.