i've learned couchdb for a year... i've tried bigcouch too...
now i want to try couchbase, i've studied it 2 days, but i still don't know how to access couchbase from couchdb REST API (using NODEJS)...
i've tried to searching on google how to access couchbase, and i got this answer
var memcache = require('./node-memcache'); var client = new memcache.Client(11211,'localhost') client.on('connect',function(){ console.log("connect to memcache\n\n"); client.version(function(error,result){ console.log(error?error:result); client.close(); }) }) client.on('timeout',function(){ console.log('connection timeout'); }) client.on('error',function(e){ console.log(e); }) client.connect();
i think the sample above is not access couchbase directly, but i access memcache.. is there any sample code about how to access couchbase via couchdb REST API...? i'm sorry my english bad