How to save file attachment to db in custom addon

The database stores information such as the content it's attached to and location, not the image itself.
 
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.
 
Back
Top Bottom