반응형
CouchDB Reference중 API Cheatsheet
2009년 7월 현재 0.9.0버젼의 CouchDB 공식 wiki에 작성되어 있는 API Cheatsheet를 옮겨 적어놓습니다.
CouchDB Server Level Requests
info : GET /
all_dbs : GET /_all_dbs
config : GET /_config
stats : GET /_stats
UUIDs : GET /_uuids (takes a count parameter)
replicate : POST /_replicate (see Replication) <-http://wiki.apache.org/couchdb/Replication
source에서 destination으로 복제하고 싶을때
CouchDB Database Level Requests
compact : POST /db/_compact
create : PUT /db
drop : DELETE /db
info : GET /db
all_docs : GET /db/_all_docs
open_doc : GET /db/doc_id
save_doc (CREATE) : POST /db
save_doc (UPDATE) : PUT /db/doc_id
remove_doc : DELETE /db/doc_id
bulk_docs : POST /db/_bulk_docs
query (aka temporary view) : POST /db/_temp_view
view
CouchDB 0.9.0 이전 버젼에서는
GET /db/_view/designname/viewname
CouchDB 0.9.0 이후 버젼에서는
GET /db/_design/designname/_view/viewname
2009년 7월 현재 0.9.0버젼의 CouchDB 공식 wiki에 작성되어 있는 API Cheatsheet를 옮겨 적어놓습니다.
CouchDB Server Level Requests
info : GET /
all_dbs : GET /_all_dbs
config : GET /_config
stats : GET /_stats
UUIDs : GET /_uuids (takes a count parameter)
replicate : POST /_replicate (see Replication) <-http://wiki.apache.org/couchdb/Replication
source에서 destination으로 복제하고 싶을때
CouchDB Database Level Requests
compact : POST /db/_compact
create : PUT /db
drop : DELETE /db
info : GET /db
all_docs : GET /db/_all_docs
open_doc : GET /db/doc_id
save_doc (CREATE) : POST /db
save_doc (UPDATE) : PUT /db/doc_id
remove_doc : DELETE /db/doc_id
bulk_docs : POST /db/_bulk_docs
query (aka temporary view) : POST /db/_temp_view
view
CouchDB 0.9.0 이전 버젼에서는
GET /db/_view/designname/viewname
CouchDB 0.9.0 이후 버젼에서는
GET /db/_design/designname/_view/viewname
반응형
'backend > DataBase' 카테고리의 다른 글
[CouchDB] HTTP view API (0) | 2009.09.29 |
---|---|
[CouchDB] HTTP Document API (0) | 2009.07.14 |
[CouchDB] Compaction (0) | 2009.07.13 |
[CouchDB] HTTP database API (2) | 2009.07.09 |
[CouchDB] 초간단 Mac에서 CouchDB 실행하기 (0) | 2009.07.07 |
[CouchDB] 1. CouchDB가 뭐지? (2) | 2009.07.07 |
[오라클] 초성검색 (2) | 2009.04.28 |
자주 쓰지 않아서 잊어버리는 간단한 Oracle SQL문들 (4) | 2009.04.22 |