Learn R Programming

couchDB (version 1.4.1)

couch_create_database: Create database

Description

Creates a new database based on the dbname.

Creates a new couchDB database on the connection provided.

Usage

couch_create_database(conn, dbname)

Arguments

conn
a couchDB connection object
dbname
the name of the database

Examples

Run this code
## 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) 

Run the code above in your browser using DataLab