How to store image into postgreSQL

@Is_celine you can create an entry in a PostgeSQL database like this

CREATE TABLE images (
    id NUMERIC(5),
    image_binary BYTEA
);

And then upload a binary file. I adapted an example by @takbb .

3 Likes