How can a JSON document be saved on couchdb using "db" package in kanso through your javascript code? This is what I've tried but it doesn't work:
var db=require('db').use('it');
db.saveDoc(doc, function(err,response)
{
if(err)
{
alert('Error');
}
else
{
alert('Data Added successfully');
}
});
--
You received this message because you are subscribed to the Google Groups "kanso" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kanso+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.