We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7e3b11 commit ba72a58Copy full SHA for ba72a58
.changeset/young-bananas-heal.md
@@ -0,0 +1,5 @@
1
+---
2
+'@powersync/common': patch
3
4
+
5
+Update TriggerManager trackTableDiff API example
packages/common/src/client/triggers/TriggerManager.ts
@@ -345,7 +345,7 @@ export interface TriggerManager {
345
* },
346
* onChange: async (context) => {
347
* // Fetches the todo records that were inserted during this diff
348
- * const newTodos = await context.getAll<Database['todos']>(`
+ * const newTodos = await context.withDiff<Database['todos']>(`
349
* SELECT
350
* todos.*
351
* FROM
0 commit comments