Hi all, I have a simple table called users with th...
# exposed
t
Hi all, I have a simple table called users with the following columns id bigserial primary key, age integer something like
Copy code
select max(age) from users
How can I get the eldest users with exposed?
s
Something like
Copy code
Users
.slice(Users.age.max())
.selectAll()
.first()
.tryGet(Users.age.max())
👍 1
t
Thank you very much
s
Its free from memory so might not be completely correct
t
I got the idea, will try to change it if it will require, thank you