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

Function createStoreEntity

core/client.ts:109–111  ·  view source on GitHub ↗
(input: Partial<Data>)

Source from the content-addressed store, hash-verified

107 const { query, findById, sort, find, findFirst } = store;
108
109 function createStoreEntity(input: Partial<Data>) {
110 return createEntity<Data, View>({ data: input, client });
111 }
112
113 const countComputed = computed(() => {
114 return client.all.length;

Callers 1

createFunction · 0.85

Calls 1

createEntityFunction · 0.90

Tested by

no test coverage detected