New to couchdb. I came to know that temporary views cannot be created in couchdb 2.0. Is there anyway to create a design doc in couchdb using django. Am looking for an alternative way to do the below code
server = couchdb.Server(url)
db = server['test']
func_str = "function(doc) { emit(doc.count,1); }"
results = db.query(func_str)
for row in results:
i=row.key
print("i:",i)
dict=json.loads(i)
The above code gives me error: 410, ('gone', 'Temporary views are not supported in CouchDB'))