lib/Doctrine/CouchDB/CouchDBClient.php
public function findDocuments(array $ids, $limit = null, $offset = null)
    {
        $allDocsPath = '/'.$this->databaseName.'/_all_docs?include_docs=true';
        if ($limit) {
            $allDocsPath .= '&limit='.(int) $limit;
        }
        if ($offset) {
            $allDocsPath .= '&skip='.(int) $offset;
        }

        return $this->httpClient->request('POST', $allDocsPath, json_encode(
            ['keys' => array_values($ids)])
        );
    }
public function findDocuments(array $ids, $limit = null, $offset = null)
    {
        $allDocsPath = '/'.$this->databaseName.'/_all_docs?include_docs=true';
        if ($limit) {
            $allDocsPath .= '&limit='.(int) $limit;
        }
        if ($offset) {
            $allDocsPath .= '&skip='.(int) $offset;
        }

        return $this->httpClient->request('POST', $allDocsPath, json_encode(
            ['keys' => array_values($ids)])
        );
    }
public function findDocuments ( array $ ids , $ limit = null , $ offset = null ) { $ allDocsPath = '/' . $ this -> databaseName . '/_all_docs?include_docs=true' ; if ( $ limit ) { $ allDocsPath .= '&limit=' . ( int ) $ limit ; } if ( $ offset ) { $ allDocsPath .= '&skip=' . ( int ) $ offset ; } return $ this -> httpClient -> request ( 'POST' , $ allDocsPath , json_encode ( [ 'keys' => array_values ( $ ids ) ] ) ) ; }
Find many documents by passing their ids and return the HTTP response.

@param array $ids
@param null  $limit
@param null  $offset

@return HTTP\Response
Find many documents by passing their ids and return the HTTP response .