nosqwal-couchbase
v0.2.1
Published
Nosqwal adapter for couchbase
Downloads
3
Readme
nosqwal-couchbase
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