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

Function createIndex

packages/db/tests/btree-index-undefined-values.test.ts:117–119  ·  view source on GitHub ↗
(propName: string)

Source from the content-addressed store, hash-verified

115 */
116describe(`BTreeIndex - undefined value handling`, () => {
117 function createIndex(propName: string): BTreeIndex<string> {
118 return new BTreeIndex<string>(1, new PropRef([propName]), `test_index`)
119 }
120
121 describe(`take vs takeFromStart`, () => {
122 it(`should distinguish take(n, undefined) from takeFromStart(n)`, () => {

Calls

no outgoing calls

Tested by

no test coverage detected