MCPcopy Create free account
hub / github.com/clientdb/clientdb / update

Method update

core/store.ts:40–40  ·  view source on GitHub ↗
(id: string, data: Partial<Data>)

Source from the content-addressed store, hash-verified

38 findById(id: string): Entity<Data, View> | null;
39 remove(id: string): boolean;
40 update(id: string, data: Partial<Data>): EntityUpdatedEvent<Data, View>;
41 find(filter: FindInput<Data, View>): Entity<Data, View>[];
42 findFirst(filter: FindInput<Data, View>): Entity<Data, View> | null;
43

Callers 2

updateEntityIndexesFunction · 0.65
rollbackFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected