.$inferSelect for relations

Hello there, is there a convenient way to get the list of relations of a specific table ? Either directly or at the type level.
Basically getting what the with argument accept in the rqb.

Cheers o/
Was this page helpful?