목록Computer Science/[MongoDB] (6)
나의 작은 valley
const MongoClient = require('mongodb').MongoClient; const url = 'mongodb://localhost:27017'; const dbName = 'mydb'; const client = new MongoClient(url, { useNewUrlParser: true, useUnifiedTopology: true }); client.connect((err) => { if (err) { console.error('Error connecting to MongoDB:', err); return; } console.log('Connected to MongoDB'); const db = client.db(dbName); const createDocument = { n..

MongoDB Atlas는 MongoDB의 완전 관리형 클라우드 데이터베이스 서비스입니다. 이 서비스는 MongoDB 데이터베이스를 클라우드에서 호스팅 하고 관리하는 것을 중심으로 하며, 개발자 및 기업이 손쉽게 애플리케이션을 빌드하고 배포할 수 있도록 지원합니다. MongoDB 홈페이지 접속 및 회원 가입 https://www.mongodb.com/ MongoDB: The Developer Data Platform Get your ideas to market faster with a developer data platform built on the leading modern database. MongoDB makes working with data easy. www.mongodb.com 우선 , 홈페이..
This document is continue from https://minesmallcalley.tistory.com/666 [MongoDB] How to use MongoDB 1 (ENG) prerequisite 1) OOP (Object Oriented Promgramming) Language isn't matter. 2_How to Create and Use Databases You can type following commands in mongosh or vscode mongoDB shell. I already explain how to install its. Show All DataBases command: Show dbs resul minesmallcalley.tistory.com 6_Upd..
prerequisite 1) OOP (Object Oriented Promgramming) Language isn't matter. 2_How to Create and Use Databases You can type following commands in mongosh or vscode mongoDB shell. I already explain how to install its. Show All DataBases command: Show dbs result: admin 40.00 KiB config 108.00 KiB local 72.00 KiB choose specific Database command: use admin result: switched to db admin cf) admin is the..
What is MongoDB MongoDB is a NoSQL database management system that is designed to store, manage, and retrieve data in a flexible and scalable manner. It is known for its document-oriented data model, which means it stores data in a format similar to JSON (JavaScript Object Notation) document rather than SQL Table Such As.. `` { name: '김정헌', age: '21', major: 'software Engineering', } `` Collatio..
mongoDB는 NoSQL 기반 데이터베이스로 근래들어 인기를 얻고있는 시스템입니다. 이는 2022 stackoverflow 통계에서 Database 부문 Loved(사랑받는) 시스템 2위를 차지했다는 사실을 통해 알 수 있습니다. 필자 역시 이러한 기류의 편승하여 학습을 하기로 결정했습니다. 제가 공부하면서 정리한 글들이 또다른 공부하는 분들에게 도움이 될 수 있다면 좋겠다라는 생각을 가지며 글을 쓰고 있습니다. 글은 매주 화~수 사이에 업로드됩니다.