couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ashraf Janan <ashrafja...@yahoo.com>
Subject RE: Put method
Date Fri, 27 Sep 2013 05:51:16 GMT
Thank you so much Filippo
I understand what you said. And i do the following : i will do the following: i thing in
this case i uses Post method 

> type:student > name: Tom
> age:37
> _id:6789
 


 > type:student 
> name: Pablo
> age:37
> _id:5555


> type: message
> senderid: 5555
> title: "important information"
> receiverid:6789
> text : "---------"
 
> in this case must i know the _id for a student to can send a message to him.
> and in the Url to get all the messages for that person i will do the following:
> http:// url/name of database/ _design/name of view/_view/student?key="6789"
> 
> is that correct ? please

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