Davide Giuseppe Farella
02/28/2023, 1:09 PMMovie
and TvShow
tables, I wanna query them together, so I'm planning to create a View
and map it to a sealed class in my data layer.
Before procede, I wanna make sure there isn't any native support to sealed classes in SqlDelight, in order to avoid to reinvent the wheel.
šalec
02/28/2023, 1:18 PMDavide Giuseppe Farella
02/28/2023, 1:18 PMhfhbd
02/28/2023, 1:43 PMDavide Giuseppe Farella
02/28/2023, 1:45 PMMovie
and TvShow
have many common fields, but some unique ones, so I can have a list of items with title, genres, poster
(parent) and have a detailed screen with unique fields, like seasons
for TvShow
or releaseDate
for Movie
hfhbd
02/28/2023, 2:03 PMDavide Giuseppe Farella
02/28/2023, 2:16 PM