Skip to content
flack edited this page Sep 26, 2019 · 4 revisions

Attachments are the database representation of files like images or PDF documents, which are stored in the blobs directory (typically in the var/blobs folder in the project directory). They are based on the MgdSchema midgard_attachment

The midgard_blob class lets you interact with the actual files on the filesystem. A blob is always bound to an attachment.