«   2017/12   »
          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            
Archives
Today
93
Total
1,197,433
관리 메뉴

버리야 날자

[CouchDB] API Cheatsheet 본문

나만의 작업/DataBase

[CouchDB] API Cheatsheet

버리야 2009.07.09 18:30
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



신고
0 Comments
댓글쓰기 폼