Configuration
component {
function configure() {
servers = ['http://cache1:8091','http://cache2:8091'];
bucketName = 'myBucket';
password = 'myPass';
}
}// You can pass an instance
couchbase = new cfcouchbase.CouchbaseClient( new path.to.config() );
// You can also pass a path to the CFC
couchbase = new cfcouchbase.CouchbaseClient( 'path.to.config' );Last updated
Was this helpful?