I need to script out the first-time setup of data in a Couchbase instance. I was trying to do the following steps:
cbimporta csv file
cbq --scriptto create a view
cbq --scriptto create a primary index
But I don’t see any way to do #2. I can’t find a CREATE VIEW command. Is there such a thing? I do I have to use the console?