connect2MongoDb: Establish a connection to mongoDB

Description Usage Arguments Value Examples

Description

Connect to MongoDB using the credentials stored with setMongoDbCredentials Creates either hometimeline or filterstream as a connection element.

Usage

1

Arguments

type

Type to set the MongoDB credentials for: hometimeline or filterstream

Value

Connection Object

Examples

1
2
setMongoDbCredentials (type = "hometimeline", collection = "hometimeline",
db = "twitter", url = "mongodb://localhost")

ProjectTw/TwitteR2Mongo documentation built on May 8, 2019, 3:44 a.m.