Closed KuceraMartin closed 1 year ago
How to translate this?
from(table).map{ t => (t.firstName, t.age.as("a")) } .sortBy(_.a) .map(_.firstName)
Solutions:
age AS a
SELECT s.first_name FROM ( SELECT first_name, age AS a FROM table ORDER BY a ) s
subqueries sound good
can we compare case classes by reference equality?
eq
(closed by https://github.com/KuceraMartin/tyqu/pull/24)
How to translate this?
Solutions:
age AS a
even though it's mapped out.