Tag: prisma
How to use custom name except for _count in prisma?
In the world of Prisma, a common hurdle developers face is the limitation with the default naming convention, especially the _count property in aggregate queries. This article dives into how to overcome this by customizing the name, enhancing readability, and aligning with your project’s naming conventions. Prisma’s powerful ORM capabilities are designed with developers in […]
How do I do a left join in Prisma?
When working with databases, joining tables is a fundamental operation that allows you to combine rows from two or more tables based on a related column between them. A left join, one of the most common types of joins, returns all records from the left table and the matched records from the right table. If […]