Patch Changes
-
Collections must have a getId function & use an id for update/delete operators (#134)
-
Switch to Collection options factories instead of extending the Collection class (#145)
This refactors
ElectricCollection
andQueryCollection
into factory functions (electricCollectionOptions
andqueryCollectionOptions
) that return standardCollectionConfig
objects and utility functions. Also adds acreateCollection
function to standardize collection instantiation. -
Updated dependencies [
1fbb844
,338efc2
,ee5d026
,e7b036c
,e4feb0c
]:- @tanstack/db@0.0.5