@liberation-data/drivine
Version:
Best and fastest graph database client for TypeScript / Node.js. Provides a level of abstraction for building highly scalable applications, without compromising architectural integrity
13 lines • 390 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.MapPostProcessor = void 0;
class MapPostProcessor {
constructor(mapFunction) {
this.mapFunction = mapFunction;
}
apply(results) {
return results.map((it) => this.mapFunction(it));
}
}
exports.MapPostProcessor = MapPostProcessor;
//# sourceMappingURL=MapPostProcessor.js.map