class CouchDB::Client
- CouchDB::Client
- Reference
- Object
Defined in:
couchdb/client.crConstructors
Instance Method Summary
- #active_tasks : Array(CouchDB::Response::ActiveTask)
- #create_database(name : String) : Response::Status
- #create_document(database, object) : Response::DocumentStatus
- #databases : Array(String)
- #delete(path : String, body : String | Nil = nil, headers : HTTP::Headers | Nil = nil)
- #delete_database(name : String) : Response::Status
- #delete_document(database, uuid, rev) : Response::DocumentStatus
- #documents(database : String, include_docs = false) : Response::Results
- #find_document(database : String, query : FindQuery, response_class)
- #find_document(database : String, query : FindQuery) : Response::FindResults(JSON::Any)
- #get(path : String, body : String | Nil = nil, headers : HTTP::Headers | Nil = nil)
- #new_uuids(count = 1) : Array(String)
- #post(path : String, body : String | Nil = nil, headers : HTTP::Headers | Nil = nil)
- #put(path : String, body : String | Nil = nil, headers : HTTP::Headers | Nil = nil)
- #server_info : Response::ServerInfo
- #update_document(database, uuid, document) : Response::DocumentStatus