Typescript util types to show `with` relations

Hi there Are there some TS util types to show the result of a query using with relations? For example: With<User, 'organization'> is equivalent to (User & { organization: Organization })[]
1 Reply
JustWayne
JustWayne4w ago
console.log("QUERY", query.toSQL());

Did you find this page helpful?