datasources
datasources copied to clipboard
Updated CouchDB datasource for CakePHP 2.0
Fitness for CakePHP 2.0 Changed from cakeError() to MissingConnectionException() Added method to search for the latest revision updates without the review Change the query() method to let you use the methods of socket freely Example: $this->Model->curlGet('_all_dbs'); $this->Model->curlPut('document_name'); $this->Model->curlPost('document_name', array('field' => 'value')); $this->Model->curlDelete('document_name'); $this->Model->curlPost('document_name', array('field' => 'value'), false); $this->Model->curlPost('document_name', array('field' => 'value'), true , false);
I've left some feedback that needs addressing; I realize this PR is eons old - are you still interested in cleaning up the PR to merge it? If not no worries, and thanks for the effort =).