Replies: 3 comments
-
LargeBinary probably if you are saving image content |
Beta Was this translation helpful? Give feedback.
-
I think databases are not designed to function as file storage, maybe a better way is to save the image file to some location (like a local folder on your disk, AWS-S3 or Dropbox) the database would save a string with the location of the image file for that purpose you can use: SQLAlchemy-ImageAttach is a SQLAlchemy extension for attaching images to entity objects |
Beta Was this translation helpful? Give feedback.
-
storing binary representations is fine in some cases, but i would also go the bucket route if possible. no clue how a cdn would distribute bytea |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
or should i import another library?
Beta Was this translation helpful? Give feedback.
All reactions