nosqwal-couchbase

0.2.1 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i nosqwal-couchbase

Weekly Downloads

1

Version

0.2.1

License

MIT

Last publish

Collaborators

  • mastilver