incubator-couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lenin <lening...@gmail.com>
Subject Re: How to fetch particular data from document in couchdb using jquery
Date Tue, 11 Sep 2012 08:01:25 GMT
i tried yr code... but not getting any data....

this is the code


$*(document).ready(function() {
alert("method calling");
var db = $.couch.db("test");
db.view("sview/lenin", {key:1, success: function(data)
{
data.rows.map(function(row) {
	      alert("row:"+row.value);
});
}, error: function(req, textStatus, errorThrown){
alert('Error '+ textStatus);
}})
});
*
what i made mistake here....
Data is there for key:1

Thanks in advance....




--
View this message in context: http://couchdb-development.1959287.n2.nabble.com/How-to-fetch-particular-data-from-document-in-couchdb-using-jquery-tp7580890p7580895.html
Sent from the CouchDB Development mailing list archive at Nabble.com.

Mime
View raw message