ml.connect: Creates a connection to a MarkLogic REST server.

Description Usage Arguments Value Examples

View source: R/ml.conn.R

Description

Creates a connection to a MarkLogic REST server.

Usage

1
2
ml.connect(host = "localhost", port = "8000", username = "admin",
  password = "admin")

Arguments

host

Hostname or ip-adress of the MarkLogic http server. Default to localhost.

port

Port number of the MarkLogic http server. 8000 is used default

username

Username. admin is default.

password

Password admin is default.

Value

A ml.conn object.

Examples

1
2
3
4
5
## Not run: 
library(rfml)
locConn <- ml.connect("localhost","8000", "admin", "admin")

## End(Not run)

rfml documentation built on May 2, 2019, 3:01 a.m.