Prisma @@unique 单字段命名索引 uk_adoption_id 的 TypeScript 类型 与 findUnique where 输入不兼容(TS2322)。改用 findFirst + where 字段查询,走同一个唯一索引,性能相同。 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| blockchain | ||
| kafka | ||
| mpc | ||
| persistence | ||
| redis | ||
| infrastructure.module.ts | ||