3 ms·
>On creation, attachments go into a special _attachments attribute of the document. They are encoded in a JSON structure that holds the name, the content_type a
by aaronblohowiak 13y ago
>On creation, attachments go into a special _attachments attribute of the document. They are encoded in a JSON structure that holds the name, the content_type and the base64 encoded data of an attachment. A document can have any number of attachments.
attachments are by default stored inline in the document itself
- pokstad 13y agoThat's only when you are initially saving the document. Once the database receives the attachment, it creates a stub and removes the inline data.