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

Function insertItem

packages/db/tests/btree-index-undefined-values.test.ts:60–64  ·  view source on GitHub ↗
(item: TaskItem)

Source from the content-addressed store, hash-verified

58
59 // Helper function to insert items via sync
60 function insertItem(item: TaskItem) {
61 beginFn()
62 writeFn({ type: `insert`, value: item })
63 commitFn()
64 }
65
66 it(
67 `should handle live query with where, orderBy and limit with undefined values`,

Calls

no outgoing calls

Tested by

no test coverage detected