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

Function acceptMutations

packages/db-sqlite-persistence-core/src/persisted.ts:2719–2723  ·  view source on GitHub ↗
(transaction: {
    mutations: Array<PendingMutation<Record<string, unknown>>>
  })

Source from the content-addressed store, hash-verified

2717 }
2718
2719 const acceptMutations = async (transaction: {
2720 mutations: Array<PendingMutation<Record<string, unknown>>>
2721 }) => {
2722 await runtime.acceptTransactionMutations(transaction)
2723 }
2724
2725 const persistedUtils: PersistedCollectionUtils = {
2726 acceptMutations,

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected