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
function electricCollectionOptions<T>(config):CollectionConfig<InferSchemaOutput<T>, string|number, T, UtilsRecord> &object;
11
+
function electricCollectionOptions<T>(config):Omit<CollectionConfig<InferSchemaOutput<T>, string|number, T, UtilsRecord>, "utils"> &object;
12
12
```
13
13
14
-
Defined in: [packages/electric-db-collection/src/electric.ts:403](https://github.com/TanStack/db/blob/main/packages/electric-db-collection/src/electric.ts#L403)
14
+
Defined in: [packages/electric-db-collection/src/electric.ts:427](https://github.com/TanStack/db/blob/main/packages/electric-db-collection/src/electric.ts#L427)
15
15
16
16
Creates Electric collection options for use with a standard Collection
17
17
@@ -33,17 +33,17 @@ Configuration options for the Electric collection
function electricCollectionOptions<T>(config):CollectionConfig<T, string|number, never, UtilsRecord> &object;
43
+
function electricCollectionOptions<T>(config):Omit<CollectionConfig<T, string|number, never, UtilsRecord>, "utils"> &object;
44
44
```
45
45
46
-
Defined in: [packages/electric-db-collection/src/electric.ts:414](https://github.com/TanStack/db/blob/main/packages/electric-db-collection/src/electric.ts#L414)
46
+
Defined in: [packages/electric-db-collection/src/electric.ts:438](https://github.com/TanStack/db/blob/main/packages/electric-db-collection/src/electric.ts#L438)
47
47
48
48
Creates Electric collection options for use with a standard Collection
49
49
@@ -65,6 +65,6 @@ Configuration options for the Electric collection
Defined in: [packages/electric-db-collection/src/electric.ts:141](https://github.com/TanStack/db/blob/main/packages/electric-db-collection/src/electric.ts#L141)
38
+
Defined in: [packages/electric-db-collection/src/electric.ts:147](https://github.com/TanStack/db/blob/main/packages/electric-db-collection/src/electric.ts#L147)
39
39
40
40
Internal test hooks (for testing only)
41
41
Hidden via Symbol to prevent accidental usage in production
@@ -48,15 +48,15 @@ Hidden via Symbol to prevent accidental usage in production
Defined in: [packages/electric-db-collection/src/electric.ts:246](https://github.com/TanStack/db/blob/main/packages/electric-db-collection/src/electric.ts#L246)
51
+
Defined in: [packages/electric-db-collection/src/electric.ts:264](https://github.com/TanStack/db/blob/main/packages/electric-db-collection/src/electric.ts#L264)
52
52
53
53
Optional asynchronous handler function called before a delete operation
Defined in: [packages/electric-db-collection/src/electric.ts:189](https://github.com/TanStack/db/blob/main/packages/electric-db-collection/src/electric.ts#L189)
103
+
Defined in: [packages/electric-db-collection/src/electric.ts:195](https://github.com/TanStack/db/blob/main/packages/electric-db-collection/src/electric.ts#L195)
104
104
105
105
Optional asynchronous handler function called before an insert operation
Defined in: [packages/electric-db-collection/src/electric.ts:218](https://github.com/TanStack/db/blob/main/packages/electric-db-collection/src/electric.ts#L218)
177
+
Defined in: [packages/electric-db-collection/src/electric.ts:230](https://github.com/TanStack/db/blob/main/packages/electric-db-collection/src/electric.ts#L230)
178
178
179
179
Optional asynchronous handler function called before an update operation
Defined in: [packages/electric-db-collection/src/electric.ts:134](https://github.com/TanStack/db/blob/main/packages/electric-db-collection/src/electric.ts#L134)
230
+
Defined in: [packages/electric-db-collection/src/electric.ts:140](https://github.com/TanStack/db/blob/main/packages/electric-db-collection/src/electric.ts#L140)
231
231
232
232
Configuration options for the ElectricSQL ShapeStream
233
233
@@ -239,4 +239,4 @@ Configuration options for the ElectricSQL ShapeStream
239
239
optionalsyncMode: ElectricSyncMode;
240
240
```
241
241
242
-
Defined in: [packages/electric-db-collection/src/electric.ts:135](https://github.com/TanStack/db/blob/main/packages/electric-db-collection/src/electric.ts#L135)
242
+
Defined in: [packages/electric-db-collection/src/electric.ts:141](https://github.com/TanStack/db/blob/main/packages/electric-db-collection/src/electric.ts#L141)
Copy file name to clipboardExpand all lines: docs/reference/electric-db-collection/interfaces/ElectricCollectionUtils.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ title: ElectricCollectionUtils
5
5
6
6
# Interface: ElectricCollectionUtils\<T\>
7
7
8
-
Defined in: [packages/electric-db-collection/src/electric.ts:385](https://github.com/TanStack/db/blob/main/packages/electric-db-collection/src/electric.ts#L385)
8
+
Defined in: [packages/electric-db-collection/src/electric.ts:409](https://github.com/TanStack/db/blob/main/packages/electric-db-collection/src/electric.ts#L409)
9
9
10
10
Electric collection utilities type
11
11
@@ -33,7 +33,7 @@ Electric collection utilities type
33
33
awaitMatch: AwaitMatchFn<T>;
34
34
```
35
35
36
-
Defined in: [packages/electric-db-collection/src/electric.ts:389](https://github.com/TanStack/db/blob/main/packages/electric-db-collection/src/electric.ts#L389)
36
+
Defined in: [packages/electric-db-collection/src/electric.ts:413](https://github.com/TanStack/db/blob/main/packages/electric-db-collection/src/electric.ts#L413)
37
37
38
38
***
39
39
@@ -43,4 +43,4 @@ Defined in: [packages/electric-db-collection/src/electric.ts:389](https://github
43
43
awaitTxId: AwaitTxIdFn;
44
44
```
45
45
46
-
Defined in: [packages/electric-db-collection/src/electric.ts:388](https://github.com/TanStack/db/blob/main/packages/electric-db-collection/src/electric.ts#L388)
46
+
Defined in: [packages/electric-db-collection/src/electric.ts:412](https://github.com/TanStack/db/blob/main/packages/electric-db-collection/src/electric.ts#L412)
Defined in: [packages/electric-db-collection/src/electric.ts:372](https://github.com/TanStack/db/blob/main/packages/electric-db-collection/src/electric.ts#L372)
12
+
Defined in: [packages/electric-db-collection/src/electric.ts:396](https://github.com/TanStack/db/blob/main/packages/electric-db-collection/src/electric.ts#L396)
0 commit comments