couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ashraf Janan <ashrafja...@yahoo.com>
Subject usrname ppassword
Date Tue, 08 Oct 2013 10:20:54 GMT
Hi sir,
I tried to send request to couchDb, to get the id for a user,
I did the following:

http://url/DB name/_design/name of design doc/_view/?studentname=name&password=pass

function(doc) {
if(doc.type === "student")
  emit({studentname:name,password:doc.password}, doc);
}

What is the wrong ?please

Best wishes
Ashraf
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message