몽고디비 3

[MongoDB] Building with Patterns

본 문서는 "MongoDB Developer Center Articles"를 참고하여 작성되었습니다. 🔗 https://www.mongodb.com/developer/products/mongodb/polymorphic-pattern/ The Polymorphic Pattern 모든 컬렉션 문서가 유사하지만 완전히 동일하지 않은 구조를 가지고 있을 때 문서가 동일한 컬렉션에 있더라도 각 선수에 대한 저장된 데이터가 동일할 필요는 없음 { "sport": "ten_pin_bowling", "athlete_name": "Earl Anthony", "career_earnings": { value: NumberDecimal("1441061"), currency: "USD"}, "300_games": 25, "ca..

DEVELOPMENT/DB 2023.11.01

[MongoDB] MongoDB Node.js Developer Path

본 문서는 MongoDB university의 "MongoDB Node.js Developer Path"를 정리한 포스팅입니다. 강의: https://learn.mongodb.com/courses/connecting-to-mongodb-in-nodejs 이 강의는 저번에 들었던 "Introduction to MongoDB"과 겹치는 유닛이 많아서 해당 부분은 제외한 나머지에 대해서 정리하였습니다! UNIT6: Connecting to MongoDB in Node.js Driver - the driver works in tandem with the built-in Node.js BSON package to interact with MongoDB server const { MongoClient } = req..

DEVELOPMENT/DB 2023.09.28