What kind of variable do I use to store an image in the database? And is there a specific command for this? or just insert as any record?
I have a project in the language lua (mobile by corona sdk) that the person has to take a photo and I need to save this photo in the PostgreSQL database.
I have a publication table with the fields:
code, location, time, description, category, image in the image I intend to store a photo taken by the user.
Knowing that the mobile phone will be sent to the web service that will add in the bank and another type of user will be able to have access to these publications only over the web. How can I insert it? Can someone help me?