Vaibhav Jaiswal
02/19/2024, 6:00 PM| id | referenceId | referenceType |
And according to the referenceType, i have to join on some specific table,
Also making sure, that any change in that child table emits the change when i query this table using
asFlow()
or return PagingData
kevin.cianfarini
02/19/2024, 6:36 PMif (someCondition) {
queryTableJoinedOnTable1()
} else {
queryTableJoinedOnTable2()
}
kevin.cianfarini
02/19/2024, 6:37 PMVaibhav Jaiswal
02/20/2024, 7:06 AMVaibhav Jaiswal
02/20/2024, 1:10 PMJOIN
in SQL
The problem with join is that, there are too many columns returned and mapping it correctly to a sealed class is becoming a pain