/bi-service-couchbase

Couchbase itegration for bi-service based apps

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

Build Status

const config           = require('bi-config');
const CouchbaseODM     = require('kouchbase-odm');
const CouchbaseCluster = require('bi-service-couchbase');

var cluster = new CouchbaseCluster(config.get('storage:couchbase'));

var odm = new CouchbaseODM({
    bucket: cluster.openBucketSync('default'),
});