()
| 99 | } |
| 100 | |
| 101 | async $raw() { |
| 102 | const cleanUp = async () => { |
| 103 | await this.prisma.$executeRaw`DELETE FROM leak_test` |
| 104 | } |
| 105 | |
| 106 | await cleanUp() |
| 107 | |
| 108 | await this.prisma.$executeRaw`INSERT INTO leak_test (id) VALUES (1)` |
| 109 | const result = await this.prisma.$queryRaw`SELECT * FROM leak_test` |
| 110 | console.log('[nodejs] result', superjson.serialize(result).json) |
| 111 | |
| 112 | await cleanUp() |
| 113 | } |
| 114 | |
| 115 | async interactiveTransactions() { |
| 116 | const author = await this.prisma.author.create({ |
no test coverage detected