nosqwal-couchbase

Nosqwal adapter for couchbase


Keywords
couchbase, nosqwal, odm
License
MIT
Install
npm install nosqwal-couchbase@0.2.1

Documentation

nosqwal-couchbase Build Status Coverage Status

Nosqwal adapter for couchbase

Install

$ npm install --save nosqwal-couchbase

Usage

const nosqwalCouchbase = require('nosqwal-couchbase');
const db = nosqwalCouchbase();

const userCollection = db.defineCollection('user');

userCollection.query()
.then(users => {
    console.log(users);
    // => []
});

API

nosqwalCouchbase([options])

Retuns a noSqwal instance, see api here

options

options.connectionString

Type: string
Default: couchbase://localhost?detailed_errcodes=1

Couchbase connection string

options.bucketName

Type: string
Default: default

Couchbase bucket name

License

MIT © Thomas Sileghem