Server object that allow you to acces and manage a CouchDB host. A Server object could be used like any dict object.
Properties
Methods
info of server
| Returns: | dict |
|---|
Create a database on CouchDb host
| Parameters: |
|
|---|---|
| Returns: | Database instance if it’s ok |
delete a database in CouchDB host
| Parameters: |
|
|---|
get database
| Parameters: |
|
|---|---|
| Returns: | Database instance if dbnam in server, None |
if it don’t exist.
test if database exist in CouchDB host.
| Parameters: |
|
|---|---|
| Returns: | bool, True if it exist |