CouchDB
CouchDB copied to clipboard
CouchDB Client for PHP >=5.5
How about changing the Namespace from `CouchDB\` to something, that will most likely not collide with other software?
Currently you can access the couchdb database with magic methods, because it should work like the [mongodb](https://github.com/doctrine/mongodb) repo. But I don't like the magic methods because you don't have control...
Guzzle does offer using Promise structures for their responses. How about using these to offer parallel requests to CouchDB?
How about a `QueryBuilder` that could enable stuff like this? ``` php $result = $this->database->query() ->design('users') ->view('user-by-username') ->key($username) ->includeDocs(true) ->execute(); ``` I already have something to start from :)
I added some more helpers to the `Result` class, like this: ``` php public function getFirstDoc() { $row = $this->getFirstRow(); return $row ? $row['doc'] : false; } public function getDocs()...