MCPcopy Create free account
hub / github.com/apitable/apitable / assertRecordIds

Function assertRecordIds

packages/core/src/databus/__tests__/databus.test.ts:33–35  ·  view source on GitHub ↗
(records: IRecord[], genId: (i: number) => string)

Source from the content-addressed store, hash-verified

31};
32
33const assertRecordIds = (records: IRecord[], genId: (i: number) => string): IRecord[] => {
34 return records.map((record, i) => assertRecordId(record, genId(i)));
35};
36
37const db = MockDataBus.getDatabase();
38

Callers 1

databus.test.tsFile · 0.85

Calls 2

assertRecordIdFunction · 0.85
mapMethod · 0.45

Tested by

no test coverage detected