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
console.log("QUERY", query.toSQL());