Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | ||
| 6 | 7 | 8 | 9 | 10 | 11 | 12 |
| 13 | 14 | 15 | 16 | 17 | 18 | 19 |
| 20 | 21 | 22 | 23 | 24 | 25 | 26 |
| 27 | 28 | 29 | 30 |
Tags
- Synology
- react
- Nas
- CVE-2025-55182
- pillow
- pdfminer
- SBX
- 닌텐도
- promethues
- 도커마운트
- 우분투
- 17.6.3
- nodeexporter
- PyMuPDF
- ubuntu
- docker
- Timezone
- Github
- VMware
- dsm
- Elasticsearch
- Python
- IP변경
Archives
- Today
- Total
보조기억장치
mongoose '__v' 필드 제거 본문
const productSchema = new Schema(
{
title: {
type: String,
required: true,
},
price: { type: Number, required: true },
description: {
type: String,
required: true,
},
imageUrl: { type: String, required: true },
},
{ versionKey: false } <<-- 스키마 생성시 추가하기
);
'IT > Node.js' 카테고리의 다른 글
| 패스워드 해쉬(bcrypt) (0) | 2023.01.28 |
|---|---|
| express-validator 적용하기 (0) | 2023.01.28 |
| mongoose error 모음 (0) | 2023.01.24 |
| Sequelize 모델 생성 예제 (0) | 2023.01.10 |
| Sequelize (Model Querying - Finders) (0) | 2023.01.10 |