Binary columns in postgres

I have a table with a column of binary data. and I don’t know how to process it to use as JSON data or even use it in my React application can i get some help on this

Do you know what that binary data represents ? Binary data can be a string or an image or even a video. Once you find that you can use postgres itself or another library on backend or frontend to convert it to its source representation.

thank you I was using it to process image files in jpg and png format. I used active storage and it worked perfectly

1 Like