Can you get types for results of relational queries?

You can use $inferSelect on the table to get a basic type for the table with all of its columns, but what if you're using a relational query to load some relations and limiting some columns. How do I get the type of the result here?
1 Reply
migs
migs2w ago
Looking for the same solution
Want results from more Discord servers?
Add your server