JavaScript NestJS SQL TypeScript

API with NestJS #16. Using the array data type with PostgreSQL and TypeORM

This entry is part 16 of 187 in the API with NestJS

Storing arrays is not an obvious thing in the world of SQL databases. Solutions such as MySQL, MariaDB, or Microsoft SQL Server don’t have a straightforward column type for arrays. This article explores how the array data type works in PostgreSQL both through SQL queries and through TypeORM. By learning how to operate on arrays […]