일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 데이터
- 코딩문제
- 그리디
- 알고리즘기초
- 데이터베이스
- database
- 기초
- 파이썬
- Markdown
- httpCode
- mongoDB
- 코테
- chatGPT
- 인프콘2024
- db
- Python
- 알고리즘
- 탐색알고리즘
- NoSQL
- 코딩테스트
- 몽고DB
- 수학
- Algorithm
- 마크다운문법
- 그리디알고리즘
- 소수
- 수열
- 그래프
- 마크다운
- 백준
- Today
- Total
목록기초 (2)
Dev_from the Bottom
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/b0ZU9t/btrDFxZYKz9/G4Zj12sUckWwhncXIRpdI1/img.png)
1. 모든 데이터 조회(전체) # 모든 데이터 조회 db.col2.find() 2. 다중 데이터 입력 : 배열 포함 db.col2.insertMany([{name:"홍길동2", age:500, etc:[{hobby:"달리기", state:"충청도2"}, {likenum:[1,2,3,4,5]}]}, {name:"핑크퐁", age:5, etc:[{hobby:"마술", state:"서울"}, {likenum:[10,20,30,40,50]}]}, {name:"뽀로로", age:5, etc:[{hobby:"여행", state:"경기"}, {likenum:[20,30,40,50, 60]}]} ]) >>> { acknowledged: true, insertedIds: { '0': ObjectId("629554873a..
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/EglHt/btrDGbWIEDF/EUhfK05TFswaMUBBRXKwk1/img.png)
1. DB 상태 확인 db.enableFreeMonitoring() >>> { state: 'enabled', message: 'To see your monitoring data, navigate to the unique URL below. Anyone you share the URL with will also be able to view this page. You can disable monitoring at any time by running db.disableFreeMonitoring().', url: 'https://cloud.mongodb.com/freemonitoring/cluster/MPG7YVNN5QYDFSL2IDTPDOF3TPNBUVEV', userReminder: '', ok: 1 } ..