I saw how to use tMap in TOS to map different fields in an SQL-like JOIN. How can I aggregate based on specific fields?
If I have two tables:
[ A, B, C, D ]
and that are tMap'ped to [ B, C, F, G ]
[ B, E, F, G]
how can I combine the results with this, and not with a lot of non-unique B entries, I can see something like:
[ B, count(B), avg(C), avg(F), avg(G) ]
Thank!
source
share