Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
1 つの CouchDB にすべての CouchApp を一覧表示する方法はありますか?
私は次のようなことをしたいと思います:
couchapp list http://domain.tld:5984/content
そして、すべての couchapp 名のリストを取得します。
トリックは、_all_docs を使用し、そのリストから興味のあるものを startkey と endkey で選択することです。
すべてのデザイン ドキュメント _id は _design/ で始まるため、_design/ とそれに続く文字 0 の間にあるすべてのドキュメントを選択して、_design0 を指定できます。
http://www.couch.db:5984/database/_all_docs?startkey="_design/"&endkey="_design0"
頑張ってください!