Loading

随笔分类 -  nestjs

摘要:https://medium.com/@khoa.phan.9xset/nestjs-file-uploading-using-multer-gridfs-7569a1b48022 阅读全文
posted @ 2022-09-12 01:26 myEsn2E9 阅读(65) 评论(0) 推荐(0)
摘要:Common | Decorator | Description | | | | | @IsDefined(value: any) | Checks if value is defined (!== undefined, !== null). This is the only decorator t 阅读全文
posted @ 2022-08-09 11:02 myEsn2E9 阅读(1662) 评论(0) 推荐(0)
摘要:简介 Discriminators:鉴别器是一种模式继承机制。它们使您能够在同一个基础 MongoDB 集合之上拥有多个具有重叠模式的模型。 实现步骤 创建基类 Schema // event.schema.ts import { Document } from 'mongoose'; import 阅读全文
posted @ 2022-07-30 11:32 myEsn2E9 阅读(200) 评论(0) 推荐(0)