Closed garbados closed 10 years ago
This branch was named to address https://github.com/cloudant-labs/cloudant-python/issues/16 but the cloudant-python API is mutually exclusive with the couchdb-python / couchdbkit APIs to such a degree that it strikes me as counterproductive to imply code written for one will port painlessly to using another.
For example, couchdb-python and cloudant-python Database
objects have a delete
method, but they function completely differently. I'd like to keep the API clean and minimal, reflecting only the Cloudant API itself, rather than the design choices of prior artists merely because they're prior artists.
Ex: save_docs
as couchdbkit does, to bulk_docs
as the Cloudant API does.
__delitem__
toAccount
, so you can dodel account[db_name]
save_docs
tobulk_docs
to reflect API.