type orm postgre use code example
Example 1: typeorm postgresql
npm i — save @nestjs/typeorm typeorm pg
Example 2: typeorm
npm install typeorm -g
typeorm init --name MyProject --database mysql
npm i — save @nestjs/typeorm typeorm pg
npm install typeorm -g
typeorm init --name MyProject --database mysql