phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Swapna Swapna <talktoswa...@gmail.com>
Subject Question on aggregate function
Date Tue, 03 May 2016 18:14:43 GMT
Hi,

I'm trying to implement aggregate function on multiple columns (as an
arguments) like:

myaggFunc(col1,col2)

And I would want to return the results by each column after applying
aggregate operation.

The output would be something like:

col1, count ( aggregate of all records for col1)
col2, count

Inorder to return the results in the above format, what is the return data
type (of the method) should I have to choose?

Thanks

Mime
View raw message