How to get particular data from document 

Example in sql 

SELECT * FROM TABLE WHERE ID='101' 


i have created map function in couchDB(Futon) : 


function(doc,val) { 
  if(doc.amount=='1') {   // here instead of '1' i  can use variable val(2nd
argument of the fun) 
    emit(doc.amount, doc.name); 
  } 
}

my jquery code is : 



Explain the code to write using Jquery. 
Here am using jquery.couch.js, jquery.js 

Thanks in advance..... 

Regards 
G.Lenin 



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

Reply via email to