How to save file attachment to db in custom addon


in memoriam 1991-2020
The database stores information such as the content it's attached to and location, not the image itself.


Well-known member
I want to know how do do it.
You would need to create an add on to extend several portions of the code. Not to mention the implications in database performance. I would probably not do it without a deep analysis to stability and performance.