Query OptimizationRecommendations
Using CURRENT_TIME
Learn about the recommendation provided by Optimize for using the `CURRENT_TIME` function
The following raw SQL query uses the CURRENT_TIME function:
prisma.$queryRaw`SELECT CURRENT_TIME;`;Why this is a problem
The CURRENT_TIME keyword returns only the time (e.g., 14:30
timetz, which was added for SQL standard compatibility but is generally discouraged.