Ask Aggregate Function

48 views
Skip to first unread message

Adam Mizza Zamani

unread,
Feb 12, 2014, 11:18:21 PM2/12/14
to activejd...@googlegroups.com
Hello,

Can you explain me,
How call Aggregate Function for example , MIN, MAX, SUM,,
using Active JDBC ?

Best Regards

Igor Polevoy

unread,
Feb 13, 2014, 1:59:26 AM2/13/14
to activejd...@googlegroups.com
Aggregate functions do not map well on ORMs. 
You can use a lower level API like this: 

Object o = Base.firstCell("select max(id) from people");

tx
Reply all
Reply to author
Forward
0 new messages