External module "api/controllers/aggregate.controller"
Variables
Const logger
logger
: Logger = new Logger('api.controller', __filename)
Functions
Const aggregateController
- aggregateController(req: Request, res: Response, _: NextFunction): Promise<void>
-
Parameters
-
req: Request
-
res: Response
-
_: NextFunction
Returns Promise<void>
Const aggregateToArrayController
- aggregateToArrayController(req: Request, res: Response, _: NextFunction): Promise<void>
-
Parameters
-
req: Request
-
res: Response
-
_: NextFunction
Returns Promise<void>
GET /collections/{collectionName}/aggregate Aggregate