Hi,

Any plans to implement doc features, like expression evaluation on insert or 
update in CouchDB? For example:
POST:
{
"test1": "1",
"test2": "2",
"test3": function(doc) { 
var res = doc.test1 + doc.test2 
return res;
/* or maybe even                if (doc["test2"]) { 
doc["test4"]();
} else {
... more stuff...
}
*/
    }
"test4": function(doc_or_maybe_something_else) { ... }
}

result in couchdb:
{
"test1": "1",
"test2": "2",
"test3": "3"
// ..etc.
}


Regards

Reply via email to