View Source


Simply start using the database. If a particular database does not exists it will be created automatically.

{code:java}
CouchDbClient server = new DefaultCouchDbClient("localhost", 5984);

// If the database does not exist it will be created automatically
Database database = server.getDatabase("couch4j");
{code}