Creating a view on the fly from code using Node.JS
The Code : // load the Couchbase driver and connect to the cluster var couchbase = require(‘couchbase’); var cluster = new couchbase.Cluster(‘localhost:8091’); //it is important to make this async call as otherwise you will try create the //view before the…