Typed “with” relations config on relational query builder
How can I properly get the proper relation type (with) of a specific table/entity? For example, I would like to achieve the following with proper typings:
const patientRelations = {
relation1: true,
relation2: {
columns: {
col1: true,
col2: true
}
}
}
0 Replies