API with NestJS #178. Storing files inside of a PostgreSQL database with Drizzle
When working with PostgreSQL, we can use the bytea column to store binary data, such as images, PDFs, or other small files. In this article, we explore how to store files in a PostgreSQL database using the Drizzle ORM. We also learn how to stream the data to our users. Using the bytea column with […]