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

Method toString

packages/db-ivm/src/indexes.ts:182–188  ·  view source on GitHub ↗

* This method returns a string representation of the index. * @param indent - Whether to indent the string representation. * @returns A string representation of the index.

(indent = false)

Source from the content-addressed store, hash-verified

180 * @returns A string representation of the index.
181 */
182 toString(indent = false): string {
183 return `Index(${JSON.stringify(
184 [...this.entries()],
185 undefined,
186 indent ? 2 : undefined,
187 )})`
188 }
189
190 /**
191 * The size of the index.

Callers 15

generateIdFunction · 0.45
test-context.tsFile · 0.45
encodeTransportValueFunction · 0.45
toSqlLiteralFunction · 0.45
printProcessResultFunction · 0.45
runFunction · 0.45
encodePersistedJsonValueFunction · 0.45
toSqliteParameterValueFunction · 0.45
toStableSerializableFunction · 0.45

Calls 1

entriesMethod · 0.95

Tested by 9

toSqlLiteralFunction · 0.36
createMockCollectionFunction · 0.36
spawnProcessFunction · 0.36
simulateInitialSyncFunction · 0.36
simulateResyncFunction · 0.36
stringifyUuidFunction · 0.36
serializePostFunction · 0.36
getConfigFunction · 0.36