Skip to content

Commit 680d8a2

Browse files
add changeset
1 parent 2ce5cd2 commit 680d8a2

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.changeset/tame-islands-deliver.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
'@powersync/common': minor
3+
'@powersync/node': minor
4+
'@powersync/react-native': minor
5+
'@powersync/web': minor
6+
---
7+
8+
Added SQLite trigger based table change tracking.

packages/node/tests/trigger.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ describe('Triggers', () => {
2626
// This callback async processed. Invocations are sequential.
2727
onChange: async () => {
2828
await database.writeLock(async (tx) => {
29+
// TODO
2930
// API exposes a context to run things here.
3031
// using execute seems to be important on Node.js
3132
// the temp table is not present if using getAll
@@ -458,7 +459,6 @@ describe('Triggers', () => {
458459
FROM
459460
DIFF
460461
`);
461-
console.log('diff', extractedDiff);
462462
changes.push(...extractedDiff.map((d) => d.id));
463463
}
464464
});

0 commit comments

Comments
 (0)