Ernest Zamelczyk
04/08/2024, 2:27 PMquery:
SELECT station.* FROM keyword LEFT JOIN station
ON keyword.station_id = station.id
I would like for it to just return the same type that the station table contains but it creates the exact duplicate under the name Query.kevin.cianfarini
04/08/2024, 2:30 PMkevin.cianfarini
04/08/2024, 2:31 PMstationQueries.query(
mapper = ::Station
).executeAsList()
Ernest Zamelczyk
04/08/2024, 2:53 PMkevin.cianfarini
04/08/2024, 2:54 PMquery:
SELECT station.* FROM keyword LEFT JOIN station
ON keyword.station_id = station.id
WHERE station.some_param IS NOT NULL;
Ernest Zamelczyk
04/08/2024, 2:55 PMCREATE TABLE
clause specifies it so I thought that the query should infer thatErnest Zamelczyk
04/08/2024, 2:56 PMkevin.cianfarini
04/08/2024, 2:56 PMErnest Zamelczyk
04/08/2024, 3:28 PMhfhbd
04/08/2024, 4:03 PM