Diff Text

20/100
DocsAll Text
function getUser(id: string) {
return db.user.findUnique({ where: { id } })
return db.user.findUniqueOrThrow({ where: { id } })
}
const cache = new Map()
const cache = new LRUCache({ max: 500 })