์คํค๋ง
๋ฐ์ดํฐ๋ฒ ์ด์ค์ ๊ตฌ์กฐ์ ๊ท์น(์ ์ฝ ์กฐ๊ฑด)์ ๊ดํ ์ค๊ณ๋. ๋ฐ์ดํฐ๋ฒ ์ด์ค๊ฐ ์ด๋ป๊ฒ ๊ตฌ์ฑ๋์ด ์๋์ง, ์ด๋ค ๋ฐ์ดํฐ๊ฐ ์ด๋ค ํํ์ ๊ด๊ณ๋ก ์ ์ฅ๋๋์ง๋ฅผ ์ ์ํ๋ค. ์ด๋ ํ ์ด๋ธ/ํ๋/๊ด๊ณ/์ธ๋ฑ์ค ๋ฑ์ ์ ์ํ๋ ๋ฉํ๋ฐ์ดํฐ์ ์งํฉ์ด๋ค.
์๋ฌธ
- Everything in Mongoose starts with a Schema. Each schema maps to a MongoDB collection and defines the shape of the documents within that collection.
โ Mongoose์์ ๋ชจ๋ ๊ฒ์ ์ค๊ณ๋๋ก ์์ํฉ๋๋ค. ๊ฐ ์ค๊ณ๋๋ MongoDB ์ปฌ๋ ์ ์ ๋งคํ๋๋ฉฐ ํด๋น ์ปฌ๋ ์ ๋ด์ ๋ฌธ์์ ํํ๋ฅผ ์ ์ํฉ๋๋ค.
์๋ฌธ ์ถ์ฒ: mongoosejs.com/docs/guide.html#definition
'STORAGE > ๋จ์ด์ฅ๐ ' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
ํธ์คํ (hosting) (0) | 2024.04.05 |
---|---|
์ค์บํด๋ฉ(scaffolding) (0) | 2024.04.04 |
๋ถํธ์คํธ๋ฉ (0) | 2024.04.03 |
๋๊ธ