You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While starting to discover CouchDB and Fauxton, it is easy to add attachments, but an attempt to delete them seem to not be as easy as expected.
I don't really know what is happening and the error message doesn't really shows much.
Expected Behavior
Click somewhere in Fauxton to delete the attachment.
Feature to list attached files and be able to delete them.
Steps to Reproduce (for bugs)
Create a document
Attach a big file
Watch how this expand the size of the database
Try to delete it to reduce the size of the database
Context
I was trying to learn more from CouchDB as a beginner.
The attempt was to check if attachments were stored as files or documents, or inside the database as blobs.
It turns out that they are stored as blobs.
Now I want to delete it and while Fauxton doesn't have the tool to do it, it is rejected by curl.
Your Environment
Version used: CouchDB 3.1.0
Browser Name and version: Chrome 84
Operating System and version (desktop or mobile): macOS 10.15.5
Link to your project:
The text was updated successfully, but these errors were encountered:
While starting to discover CouchDB and Fauxton, it is easy to add attachments, but an attempt to delete them seem to not be as easy as expected.
I don't really know what is happening and the error message doesn't really shows much.
Expected Behavior
Click somewhere in Fauxton to delete the attachment.
Current Behavior
curl -X DELETE http://admin:secret@localhost:5984/couchproducts/_design%2Fcouchproducts/myfile.zip
{"error":"conflict","reason":"Document update conflict."}
curl -X GET http://admin:secret@localhost:5984/couchproducts/_design%2Fcouchproducts/myfile.zip?revs_info=true
Returns nothing
Possible Solution
Feature to list attached files and be able to delete them.
Steps to Reproduce (for bugs)
Context
I was trying to learn more from CouchDB as a beginner.
The attempt was to check if attachments were stored as files or documents, or inside the database as blobs.
It turns out that they are stored as blobs.
Now I want to delete it and while Fauxton doesn't have the tool to do it, it is rejected by curl.
Your Environment
The text was updated successfully, but these errors were encountered: