Bilawal Ali
Results
1
comments of
Bilawal Ali
Here is the solution that worked for me for PostgreSQL. `async truncate(tableName) { try { // Replace TRUNCATE with DELETE if truncation is unsupported await prisma.$queryRawUnsafe(`TRUNCATE TABLE "${tableName}" RESTART IDENTITY...