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 | 31 |
Tags
- 크롤링
- 엘라스틱서치
- mapping
- 맵핑
- htaccess
- elasticsrach template
- 아파치
- 아파치 프록시
- wordpress rss
- 인스타그램
- template
- 워드프레스 rss
- graph api
- 프록시
- Apache
- memcache
- config
- Kibana
- htpasswd
- wordpress function
- 워드프레스 피드
- 워드프레스
- memcached
- Elasticsearch
- 설정 파일
- wordpress feed
- Wordpress
Archives
- Today
- Total
EunsooD
mongoDB 필드 삭제 (field remove) 본문
반응형
원하는 필드만 삭제하는 방법은 update 명령어를 사용해서 삭제한다.
db.URL_table.update({},{ $unset: {desc_anal2: 1, title_anal2: 1}},{ multi: true })
URL_table에서 desc_anal2와 title_anal2 필드를 날려버린다.
반응형
'STUDY' 카테고리의 다른 글
mysql update 명령어 (0) | 2015.02.27 |
---|---|
xml 데이터 수정하기. php로 (0) | 2014.10.14 |
mongodb distinct (0) | 2014.09.03 |
리눅스에서 자기 IP 알아내는 명령어 (0) | 2014.08.26 |
MongoDB 삭제 명령어 (0) | 2014.08.26 |
Comments