MCPcopy Create free account
hub / github.com/Openpanel-dev/openpanel / bulkAdd

Method bulkAdd

packages/db/src/buffers/event-buffer.ts:82–86  ·  view source on GitHub ↗
(events: IClickhouseEvent[])

Source from the content-addressed store, hash-verified

80 }
81
82 bulkAdd(events: IClickhouseEvent[]) {
83 for (const event of events) {
84 this.add(event);
85 }
86 }
87
88 add(event: IClickhouseEvent) {
89 // Event-buffer's add() is synchronous (in-memory push). Measured anyway

Callers 1

Calls 1

addMethod · 0.95

Tested by

no test coverage detected