You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/reference/powersync-db-collection/classes/PowerSyncTransactor.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ title: PowerSyncTransactor
5
5
6
6
# Class: PowerSyncTransactor
7
7
8
-
Defined in: [PowerSyncTransactor.ts:54](https://github.com/powersync-ja/temp-tanstack-db/blob/main/packages/powersync-db-collection/src/PowerSyncTransactor.ts#L54)
8
+
Defined in: [PowerSyncTransactor.ts:54](https://github.com/TanStack/db/blob/main/packages/powersync-db-collection/src/PowerSyncTransactor.ts#L54)
9
9
10
10
Applies mutations to the PowerSync database. This method is called automatically by the collection's
11
11
insert, update, and delete operations. You typically don't need to call this directly unless you
@@ -51,7 +51,7 @@ The transaction containing mutations to apply
Defined in: [PowerSyncTransactor.ts:58](https://github.com/powersync-ja/temp-tanstack-db/blob/main/packages/powersync-db-collection/src/PowerSyncTransactor.ts#L58)
54
+
Defined in: [PowerSyncTransactor.ts:58](https://github.com/TanStack/db/blob/main/packages/powersync-db-collection/src/PowerSyncTransactor.ts#L58)
55
55
56
56
#### Parameters
57
57
@@ -71,7 +71,7 @@ Defined in: [PowerSyncTransactor.ts:58](https://github.com/powersync-ja/temp-tan
71
71
database: AbstractPowerSyncDatabase;
72
72
```
73
73
74
-
Defined in: [PowerSyncTransactor.ts:55](https://github.com/powersync-ja/temp-tanstack-db/blob/main/packages/powersync-db-collection/src/PowerSyncTransactor.ts#L55)
74
+
Defined in: [PowerSyncTransactor.ts:55](https://github.com/TanStack/db/blob/main/packages/powersync-db-collection/src/PowerSyncTransactor.ts#L55)
75
75
76
76
***
77
77
@@ -81,7 +81,7 @@ Defined in: [PowerSyncTransactor.ts:55](https://github.com/powersync-ja/temp-tan
81
81
pendingOperationStore: PendingOperationStore;
82
82
```
83
83
84
-
Defined in: [PowerSyncTransactor.ts:56](https://github.com/powersync-ja/temp-tanstack-db/blob/main/packages/powersync-db-collection/src/PowerSyncTransactor.ts#L56)
84
+
Defined in: [PowerSyncTransactor.ts:56](https://github.com/TanStack/db/blob/main/packages/powersync-db-collection/src/PowerSyncTransactor.ts#L56)
85
85
86
86
## Methods
87
87
@@ -91,7 +91,7 @@ Defined in: [PowerSyncTransactor.ts:56](https://github.com/powersync-ja/temp-tan
91
91
applyTransaction(transaction): Promise<void>;
92
92
```
93
93
94
-
Defined in: [PowerSyncTransactor.ts:66](https://github.com/powersync-ja/temp-tanstack-db/blob/main/packages/powersync-db-collection/src/PowerSyncTransactor.ts#L66)
94
+
Defined in: [PowerSyncTransactor.ts:66](https://github.com/TanStack/db/blob/main/packages/powersync-db-collection/src/PowerSyncTransactor.ts#L66)
95
95
96
96
Persists a Transaction to the PowerSync SQLite database.
97
97
@@ -113,7 +113,7 @@ Persists a Transaction to the PowerSync SQLite database.
Defined in: [PowerSyncTransactor.ts:294](https://github.com/powersync-ja/temp-tanstack-db/blob/main/packages/powersync-db-collection/src/PowerSyncTransactor.ts#L294)
116
+
Defined in: [PowerSyncTransactor.ts:294](https://github.com/TanStack/db/blob/main/packages/powersync-db-collection/src/PowerSyncTransactor.ts#L294)
Defined in: [PowerSyncTransactor.ts:221](https://github.com/powersync-ja/temp-tanstack-db/blob/main/packages/powersync-db-collection/src/PowerSyncTransactor.ts#L221)
139
+
Defined in: [PowerSyncTransactor.ts:221](https://github.com/TanStack/db/blob/main/packages/powersync-db-collection/src/PowerSyncTransactor.ts#L221)
Defined in: [PowerSyncTransactor.ts:152](https://github.com/powersync-ja/temp-tanstack-db/blob/main/packages/powersync-db-collection/src/PowerSyncTransactor.ts#L152)
170
+
Defined in: [PowerSyncTransactor.ts:152](https://github.com/TanStack/db/blob/main/packages/powersync-db-collection/src/PowerSyncTransactor.ts#L152)
Defined in: [PowerSyncTransactor.ts:263](https://github.com/powersync-ja/temp-tanstack-db/blob/main/packages/powersync-db-collection/src/PowerSyncTransactor.ts#L263)
202
+
Defined in: [PowerSyncTransactor.ts:263](https://github.com/TanStack/db/blob/main/packages/powersync-db-collection/src/PowerSyncTransactor.ts#L263)
203
203
204
204
Helper function which wraps a persistence operation by:
205
205
- Fetching the mutation's collection's SQLite table details
Defined in: [PowerSyncTransactor.ts:187](https://github.com/powersync-ja/temp-tanstack-db/blob/main/packages/powersync-db-collection/src/PowerSyncTransactor.ts#L187)
242
+
Defined in: [PowerSyncTransactor.ts:187](https://github.com/TanStack/db/blob/main/packages/powersync-db-collection/src/PowerSyncTransactor.ts#L187)
243
243
244
244
#### Parameters
245
245
@@ -267,7 +267,7 @@ Defined in: [PowerSyncTransactor.ts:187](https://github.com/powersync-ja/temp-ta
Defined in: [PowerSyncTransactor.ts:313](https://github.com/powersync-ja/temp-tanstack-db/blob/main/packages/powersync-db-collection/src/PowerSyncTransactor.ts#L313)
270
+
Defined in: [PowerSyncTransactor.ts:313](https://github.com/TanStack/db/blob/main/packages/powersync-db-collection/src/PowerSyncTransactor.ts#L313)
271
271
272
272
Processes collection mutation metadata for persistence to the database.
Defined in: [definitions.ts:259](https://github.com/powersync-ja/temp-tanstack-db/blob/main/packages/powersync-db-collection/src/definitions.ts#L259)
12
+
Defined in: [definitions.ts:259](https://github.com/TanStack/db/blob/main/packages/powersync-db-collection/src/definitions.ts#L259)
13
13
14
14
A CollectionConfig which includes utilities for PowerSync.
Copy file name to clipboardExpand all lines: docs/reference/powersync-db-collection/type-aliases/PowerSyncCollectionMeta.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ title: PowerSyncCollectionMeta
9
9
typePowerSyncCollectionMeta<TTable> =object;
10
10
```
11
11
12
-
Defined in: [definitions.ts:235](https://github.com/powersync-ja/temp-tanstack-db/blob/main/packages/powersync-db-collection/src/definitions.ts#L235)
12
+
Defined in: [definitions.ts:235](https://github.com/TanStack/db/blob/main/packages/powersync-db-collection/src/definitions.ts#L235)
13
13
14
14
Metadata for the PowerSync Collection.
15
15
@@ -27,7 +27,7 @@ Metadata for the PowerSync Collection.
27
27
metadataIsTracked: boolean;
28
28
```
29
29
30
-
Defined in: [definitions.ts:253](https://github.com/powersync-ja/temp-tanstack-db/blob/main/packages/powersync-db-collection/src/definitions.ts#L253)
30
+
Defined in: [definitions.ts:253](https://github.com/TanStack/db/blob/main/packages/powersync-db-collection/src/definitions.ts#L253)
31
31
32
32
Whether the PowerSync table tracks metadata.
33
33
@@ -39,7 +39,7 @@ Whether the PowerSync table tracks metadata.
39
39
serializeValue: (value) =>ExtractedTable<TTable>;
40
40
```
41
41
42
-
Defined in: [definitions.ts:248](https://github.com/powersync-ja/temp-tanstack-db/blob/main/packages/powersync-db-collection/src/definitions.ts#L248)
42
+
Defined in: [definitions.ts:248](https://github.com/TanStack/db/blob/main/packages/powersync-db-collection/src/definitions.ts#L248)
43
43
44
44
Serializes a collection value to the SQLite type
45
45
@@ -61,7 +61,7 @@ Serializes a collection value to the SQLite type
61
61
tableName: string;
62
62
```
63
63
64
-
Defined in: [definitions.ts:239](https://github.com/powersync-ja/temp-tanstack-db/blob/main/packages/powersync-db-collection/src/definitions.ts#L239)
64
+
Defined in: [definitions.ts:239](https://github.com/TanStack/db/blob/main/packages/powersync-db-collection/src/definitions.ts#L239)
65
65
66
66
The SQLite table representing the collection.
67
67
@@ -73,6 +73,6 @@ The SQLite table representing the collection.
73
73
trackedTableName: string;
74
74
```
75
75
76
-
Defined in: [definitions.ts:243](https://github.com/powersync-ja/temp-tanstack-db/blob/main/packages/powersync-db-collection/src/definitions.ts#L243)
76
+
Defined in: [definitions.ts:243](https://github.com/TanStack/db/blob/main/packages/powersync-db-collection/src/definitions.ts#L243)
77
77
78
78
The internal table used to track diffs for the collection.
Copy file name to clipboardExpand all lines: docs/reference/powersync-db-collection/type-aliases/PowerSyncCollectionUtils.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ title: PowerSyncCollectionUtils
9
9
typePowerSyncCollectionUtils<TTable> =object;
10
10
```
11
11
12
-
Defined in: [definitions.ts:272](https://github.com/powersync-ja/temp-tanstack-db/blob/main/packages/powersync-db-collection/src/definitions.ts#L272)
12
+
Defined in: [definitions.ts:272](https://github.com/TanStack/db/blob/main/packages/powersync-db-collection/src/definitions.ts#L272)
13
13
14
14
Collection-level utilities for PowerSync.
15
15
@@ -27,7 +27,7 @@ Collection-level utilities for PowerSync.
27
27
getMeta: () =>PowerSyncCollectionMeta<TTable>;
28
28
```
29
29
30
-
Defined in: [definitions.ts:273](https://github.com/powersync-ja/temp-tanstack-db/blob/main/packages/powersync-db-collection/src/definitions.ts#L273)
30
+
Defined in: [definitions.ts:273](https://github.com/TanStack/db/blob/main/packages/powersync-db-collection/src/definitions.ts#L273)
Copy file name to clipboardExpand all lines: docs/reference/powersync-db-collection/type-aliases/TransactorOptions.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ title: TransactorOptions
9
9
typeTransactorOptions=object;
10
10
```
11
11
12
-
Defined in: [PowerSyncTransactor.ts:15](https://github.com/powersync-ja/temp-tanstack-db/blob/main/packages/powersync-db-collection/src/PowerSyncTransactor.ts#L15)
12
+
Defined in: [PowerSyncTransactor.ts:15](https://github.com/TanStack/db/blob/main/packages/powersync-db-collection/src/PowerSyncTransactor.ts#L15)
13
13
14
14
## Properties
15
15
@@ -19,4 +19,4 @@ Defined in: [PowerSyncTransactor.ts:15](https://github.com/powersync-ja/temp-tan
19
19
database: AbstractPowerSyncDatabase;
20
20
```
21
21
22
-
Defined in: [PowerSyncTransactor.ts:16](https://github.com/powersync-ja/temp-tanstack-db/blob/main/packages/powersync-db-collection/src/PowerSyncTransactor.ts#L16)
22
+
Defined in: [PowerSyncTransactor.ts:16](https://github.com/TanStack/db/blob/main/packages/powersync-db-collection/src/PowerSyncTransactor.ts#L16)
Copy file name to clipboardExpand all lines: docs/reference/powersync-db-collection/variables/DEFAULT_BATCH_SIZE.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,6 @@ title: DEFAULT_BATCH_SIZE
9
9
const DEFAULT_BATCH_SIZE:1000=1000;
10
10
```
11
11
12
-
Defined in: [definitions.ts:279](https://github.com/powersync-ja/temp-tanstack-db/blob/main/packages/powersync-db-collection/src/definitions.ts#L279)
12
+
Defined in: [definitions.ts:279](https://github.com/TanStack/db/blob/main/packages/powersync-db-collection/src/definitions.ts#L279)
13
13
14
14
Default value for [PowerSyncCollectionConfig#syncBatchSize](../type-aliases/BasePowerSyncCollectionConfig.md).
0 commit comments