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
- PostgresDB
- subquery
- onetoone
- MySQL
- cursor()
- insertOne
- sqlite3
- 밴쿠버응급실
- DB
- javascript
- python
- DATABASE
- statement
- PreparedStatement
- 데이터베이스
- Collections
- 파이썬
- sql
- SubqueryFilter
- query
- 자바스크립트
- PostgreSQL
- MongoDB
- 몽고디비
- postgres
- 서브쿼리
- python데이터베이스연동
- DBFilter
- Join
- insert_into
Archives
- Today
- Total
목록MongoDB (1)
새벽코딩

Mongo DB 설치 후 실행 wsl 창에 아래와 같이 실행 ~$ sudo service mongodb start ~$ mongo #현재 저장된 Database를 다 보여준다. > show dbs #그 중 test로 지정 > ues test #test 안에 들어있는 collections 보여준다. > show collections #cities 안에 들어있는 요소 보기 > db.cities.find() # "name"이 "Vancouver"인것의 "description을 "rain"으로 바꿔보자. db.cities.updateOne({"name":"Vancouver"}, {"$set":{"description":"rain"}}); 다시 조회를 해보면, 위와 같이 description이 rain으로 변경되..
Programming/Mongo DB
2022. 10. 2. 04:27