Closed jannyHou closed 7 years ago
get all design docs:
GET /dbname/_all_docs?startkey="_design/"&endkey="_design0"&include_docs=true
by api db.list(opt, cb)
, provide the query in options according to https://github.com/apache/couchdb-nano/blob/master/lib/nano.js#L72
This feature doesn't align with the more fundamental usage of CouchDB/Cloudant-like NoSQL databases. There is no inherent information that can be examined with certainty to decide which documents represent Models, or how many fields on a document represent the "minimum definition" of a Model.
Feature