UNPKG

ezito-sqlite

Version:

The fastest and simplest async and sync library for SqLite3 in Node.js.

11 lines (6 loc) 308 B
function aggregate(Database , name , func ){ const args = typeof func == "object" ? func : { step : null , result : null }; if(typeof args.result != "function") args.result = ()=>{}; this.AggregateFunction(name , new Array , args.step , args.result ); } module.exports = aggregate;