You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@zMotivat0r In my projects, it's often export file. And it shall be equivalent to table query. So I reuse getMany method.
Do you have better solution?
this is 2.1.0 version
@ApiProduces(mime.getType('.xlsx'))
@UseInterceptors(RestfulQueryInterceptor)
@Get('/export/list.xlsx')asyncexport(@Res()res: any, @Param()params: ObjectLiteral, @Query()query: RestfulParamsDto){deletequery.page;deletequery.limit;constlist=awaitthis.base.getManyBase(params,query);// do something e.g. generate an excel file}
The text was updated successfully, but these errors were encountered:
@zMotivat0r In my projects, it's often export file. And it shall be equivalent to table query. So I reuse
getMany
method.Do you have better solution?
this is
2.1.0
versionThe text was updated successfully, but these errors were encountered: