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 |
Tags
- 크롤링
- elasticsrach template
- Elasticsearch
- 워드프레스 피드
- htaccess
- Apache
- Kibana
- htpasswd
- 인스타그램
- 엘라스틱서치
- graph api
- mapping
- 아파치 프록시
- Wordpress
- config
- wordpress rss
- wordpress feed
- 맵핑
- 아파치
- 워드프레스 rss
- 설정 파일
- memcache
- wordpress function
- 프록시
- 워드프레스
- template
- memcached
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