0.1.1 • Published 8 years ago

skyer-mongo-client-component v0.1.1

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

skyer-mongo-client-component

npm version

Skyer redis client component.

Install

NPM

$ npm i --save skyer-mongo-client-component

Register

/app/components/mongo_client.component.js

module.exports = require('skyer-mongo-client-component');

Usage

const mongoClient = skyer.componentManager.getComponent('mongoClient');

hello!

Options

See mongodb options (https://github.com/luin/ioredis/blob/master/API.md#new-redisport-host-options)

Mongodb Api

http://mongodb.github.io/node-mongodb-native/2.2/api/

Licences

MIT