histrio / py-couchdb

Modern pure python CouchDB Client.
https://pycouchdb.readthedocs.org/
Other
120 stars 43 forks source link

Document whose _id is I want to be say abc/xyz is being converted to document with _id: abc with json attachment xyz #99

Closed Pavan-Reddy-ML closed 4 months ago

Pavan-Reddy-ML commented 4 months ago

Document whose _idis I want to be say abc/xyz is being converted to document with _id: abcwith json attachment xyz which contains all the remaining key-value pairs I provided in db.save() Is this expected behavior? When I try to create this document from Fauxton UI, it's getting created as expected (without any attachment)

Pavan-Reddy-ML commented 4 months ago

UrlEncoding the _id field is storing the data correctly as expected. Hence closing this issue