Four Stars

Put an attached document in a couchdb document

Hello,
Is it possible with Talend Big Data to attach a document ( for example : a pdf file ) in a couchdb document ?
Thanks in advance.
3 REPLIES
Moderator

Re: Put an attached document in a couchdb document

Hi,
Please take a look at a related forum:https://www.talendforge.org/forum/viewtopic.php?id=34768
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Four Stars

Re: Put an attached document in a couchdb document

I could not use this way because your example was on Oracle and couchdb is not a sql database.
I succeed with Rest protocol
cf screens:
Here :
192.168.56.95:5984 : is the couchdb server adress
b1 : is the name of a couchdb database
7cd1966ff96256b82182ffa209000112 : the id of the doc on which I want to attach a file
34-5e32f1ba0c3af4d882de9f03f1d81104 : the rev of the doc on which I want to attach a file

Moderator

Re: Put an attached document in a couchdb document

Hi jeanphi45,
Thanks for your solution and posting your screenshots here.
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.