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
migs3mo ago
Looking for the same solution

Did you find this page helpful?