Custom `Select` object returns type `any`
Databases like Planetscale do not support FK constraints. As I understand I can manipulate the returned data structure from within the
select
clause.
The data structure returned is correct but there is a typescript error casting it to any. Is there a way to fix this or am I misusing select?
0 Replies