Dynamic view creations


#1

Hi all,
I want to create a dynamic View in couch base. Is it possible ???

It means

I am just asking is it possible to make a view dynamic. I don’t want to create a view very time using the client library. I want to make single view to response for multi request.
I need to create a view
Like this
function (doc,meta)
{
if(doc.name=comparison ////*****I want pass this as per the client request.*******///////)
{
emit(doc.id,doc);
}
}

is it possible to make single view dynamic as per the client requirement.
Regards
Gopi.


#2

what does mean dynamic? do you want to create views from your application code?