MCPcopy Create free account
hub / github.com/WiseLibs/better-sqlite3 / Accumulator

Class Accumulator

src/util/custom-aggregate.cpp:82–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80 }
81
82 struct Accumulator { public:
83 Napi::Reference<Napi::Value> value;
84 bool initialized;
85 bool is_window;
86 };
87
88 Accumulator* GetAccumulator(sqlite3_context* invocation) {
89 Accumulator* acc = static_cast<Accumulator*>(sqlite3_aggregate_context(invocation, sizeof(Accumulator)));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected