Skip to content

Creates connection, database and all necessary collections, indexes and models used by Plott.

License

Notifications You must be signed in to change notification settings

Plott/plott-mongo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

plott-mongo

build status

Creates connection, database and all necessary collections, indexes and models used by Plott.

plott.mongo(conn, db)

Creates connection to MongoDB database.

Parameters

parameter type description
conn String MongoDB connection uri "mongodb:///". Default ('mongodb://localhost/')
db String database name. Default ('Plott')

Example

plott.mongo();

//=mongoose

Returns Object, mongoose

Installation

Requires nodejs.

$ npm install plott-mongo

Tests

$ npm test

About

Creates connection, database and all necessary collections, indexes and models used by Plott.

Resources

License

Stars

Watchers

Forks

Packages

No packages published