chickadee » couchdb » make-connection

(make-connection database: DATABASE-STRING server: URI-REFERENCE)procedure

Creates a connection record for the desired DATABASE-STRING on the CouchDB located at the specified URI reference.

Note: You will need uri-common's uri-reference.

Example:

(define conn (make-connection server: (uri-reference "http://localhost:5984/")
                              database: "chicken-test-couchdb"))