You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
typeSeason {
season: InttotalEpisodes: IntstartYear: Int
}
To get this data within' single SQL this query is to be run:
SELECT parent_id, e.season_number, max_seasons.max_episode_number, b.start_yearFROM episodes e
JOIN basics b USING(title_id)
JOIN (
SELECTe.season_number, max(episode_number) AS max_episode_number FROM episodes e
WHEREe.parent_id=944947GROUP BYe.season_number, parent_id
) AS max_seasons USING(season_number)
WHEREe.parent_id=944947ANDe.episode_number=1
Corresponding kotlin-exposed query failed for mapping:
Update type
Season
:To get this data within' single SQL this query is to be run:
Corresponding
kotlin-exposed
query failed for mapping:See question on stackoverflow here.
Same was tried to be resolved with this code, but it produces N+1 SQL separate queries:
The text was updated successfully, but these errors were encountered: