What are the best practices for using Postgres array functions within a Prisma query?
I want to include
cardinality("comments") AS "commentsCount"
in my SELECT
clause, but I'd prefer not to have to make the entire query raw. Is there some way to get around this? I'm imagining something like the following:
0 Replies