AJ Holloway
06/27/2022, 7:27 PMHarsh Singh
06/28/2022, 3:37 AMfindMany is simply redundant, although if you need multiple records that's where it comes in place. If you don't exactly want to search by a primary key and want only a single record, I suggest findFirst. In terms of performance, findUnique is of course faster even if you search by a secondary index instead of a primary one.