Does anyone know of any examples of using prisma t...
# prisma-client
m
Does anyone know of any examples of using prisma to create line charts, where you need counts based on f.i. hours 0-24, days 1-31, months 1-12, years 1-5? I've never made this before, and feel like I'm making it more complicated than it probably needs to be.
n
Hey 👋 You are probably looking for filter operators like less than (lt) and greater than (gt) to filter records by dates which could be used to generate charts - https://www.prisma.io/docs/reference/api-reference/prisma-client-reference#lt I haven’t came across any generators yet which could directly generate charts.