How to cast query results to generated types?
I have my types generated for pg database via kysley-codegen
and it generates this interface for my QuestionReview table:
A generic repository with Kysely
I’m stuck with a generic issue concerning an attempt to write a generic repository with Kysely.
Is there a way to flatten many to many joins when using Kysely?
I have the following DB structure in Kysely: