| 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))); |
nothing calls this directly
no outgoing calls
no test coverage detected