mongoose - Remove Result Type for Mongoose Nestjs Promises
问题描述
Having trouble trying to identify a @NestJS/Mongoose Remove result type, I don't think one exists.
What do you guys to do provide your result back in your Swagger documentation and defining the expectation to the controllers? For example, in typeorm there is a type called DeleteResult.
解决方案
推荐阅读
- javascript - TypeError: 无法注册 ServiceWorker: 获取脚本时收到错误的 HTTP 响应代码 (404)
- rebol - 红色:使用 do 向块添加动态键的任何替代方法
- c - fork() - 让父进程在不等待子进程的情况下工作
- postgresql - Postgres 用户未创建 Kubernetes
- linux - 如何使用 GCP 的 4.15 内核在 BPF 程序中检索当前任务的挂载命名空间?
- mysql - MySQL LEFT JOINS 命令,如何理解正确的算法
- python - 返回变量在 Python 中不起作用
- android - 带有 EditText 的 RecyclerView
- d3.js - 在 d3js 中从数组数组创建表结构并绘制文本或图形
- youtube-api - 我想从频道列表中列出视频