poseidon-couchbase
v0.5.0
Published
A future wrapper around the Couchbase driver using Poseidon.
Downloads
7
Maintainers
Readme
Poseidon Couchbase
A future wrapper around the Couchbase driver using Poseidon
##Install To get started simply run
npm install poseidon-couchbase
##Using All the normal couchbase methods are supported
Couchbase = require('poseidon-couchbase')
#Couchbase.Driver.configure('default', 'default')
bucket = new Couchbase.Bucket('default')
bucket.set("my_data", { name: "Brett", age:"44"})
.then ->
bucket.get("my_data")
.then (response) ->
console.log(response.value)
# That will be { name: "Brett", age:"44"}