Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/BlueWallet/BlueWallet
/ objectForPrimaryKey
Function
objectForPrimaryKey
tests/setup.js:435–437 ·
view source on GitHub ↗
(type, pk)
Source
from the content-addressed store, hash-verified
433
},
434
435
objectForPrimaryKey(
type
, pk) {
436
return
getStore(
type
).get(pk) ?? null;
437
},
438
439
objects(
type
) {
440
return
makeCollection(
type
, getStore(
type
).values());
Callers
nothing calls this directly
Calls
2
getStore
Function · 0.85
get
Method · 0.45
Tested by
no test coverage detected