MCPcopy Create free account
hub / github.com/TanStack/db / saveData

Function saveData

examples/react-native/offline-transactions/server/index.ts:43–48  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41}
42
43function saveData() {
44 writeFileSync(
45 DATA_FILE,
46 JSON.stringify(Array.from(todosStore.values()), null, 2),
47 )
48}
49
50loadData()
51

Callers 1

index.tsFile · 0.85

Calls 2

fromMethod · 0.80
valuesMethod · 0.45

Tested by

no test coverage detected