Class | CouchRest::Server |
In: |
lib/couchrest/server.rb
|
Parent: | Object |
available_databases | [RW] | |
uri | [RW] | |
uuid_batch_count | [RW] |
Adds a new available database and create it unless it already exists
Example:
@couch = CouchRest::Server.new @couch.define_available_database(:default, "tech-blog")
Retrive an unused UUID from CouchDB. Server instances manage caching a list of unused UUIDs.