0.2.1 • Published 7 years ago

nosqwal-couchbase v0.2.1

Weekly downloads
5
License
MIT
Repository
github
Last release
7 years ago

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