Marcin Wanago Blog - JavaScript, both frontend and backend
11 months agoJavaScript
API with NestJS #136. Raw SQL queries with Prisma and PostgreSQL range types
Prisma currently does not support range types in PostgreSQL, but PostgreSQL has built-in range types that can be used.
To use a range type in Prisma, you need to define the type in the schema and create a migration manually. [ more ]