0

Right now I enter view code (map & reduce) in the couchbase UI. This is very inconvenient, and I was wondering if there is a way to make couchbase scan the code from a folder?

This will allow me to put this code under version control, and allow me to create a script that copies code between environments.

Moshe Shaham
  • 15,448
  • 22
  • 74
  • 114

1 Answers1

0

I dont know of a 'native' way to store views in files, but you can add and remove views via REST. So you could implement a workaround.

Views REST API

FuzzyAmi
  • 7,543
  • 6
  • 45
  • 79