couch_create_database: Create database

Description Usage Arguments Examples

Description

Creates a new database based on the dbname.

Creates a new couchDB database on the connection provided.

Usage

1
couch_create_database(conn, dbname)

Arguments

conn

a couchDB connection object

dbname

the name of the database

Examples

1
2
3
4
5
6
## Not run:  
#Note: this example assumes that there is a couchDB instance available on localhost
    myConn <- couch_http_connection("localhost")
    couch_create_database(myConn,"myDatabase") 
 
## End(Not run) 

couchDB documentation built on May 2, 2019, 4:09 a.m.