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