(field: string)
| 231 | } |
| 232 | |
| 233 | export function getTimestampIntervalQuery(field: string) { |
| 234 | return Prisma.sql([ |
| 235 | `floor(extract(epoch from max(${field}) - min(${field})))`, |
| 236 | ]); |
| 237 | } |
| 238 | |
| 239 | type ExtractFindManyReturnType<T> = T extends ( |
| 240 | args?: any |
no outgoing calls
no test coverage detected