[RSS Feed/News] Fetching SUM(column) via the Finder

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
Hello everyone,

I'm wondering, is it possible to use the Finder to fetch the SUM() of a certain column?

In my search for examples of SUM() in the core I've found only examples of raw SQL. I'd change course and go this route, but in this particular case I already have a Finder object with all the necessary where() and whereOr() clauses applied. I'd like to avoid refactoring if possible.

Best,
Zig

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom