FindFirst vs FindMany and Select
My goal is to just retrieve a candidate by it's id (the primary key of the Candidate table)
I'm using Bun sqlite as the database
I've written my query with select, findFirst and findMany but even though they generate the same sql query it does not give me results with findFirst.
Could someone help me understand what i did wrong please ? ^^'
I'm using Bun sqlite as the database
I've written my query with select, findFirst and findMany but even though they generate the same sql query it does not give me results with findFirst.
Could someone help me understand what i did wrong please ? ^^'
