Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TanStack/db
/ length
Method
length
packages/db/tests/local-storage.test.ts:13–15 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
11
private store: Record<string, string> = {}
12
13
get length(): number {
14
return
Object.keys(this.store).length
15
}
16
17
getItem(key: string): string | null {
18
return
this.store[key] || null
Callers
nothing calls this directly
Calls
1
keys
Method · 0.45
Tested by
no test coverage detected