You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This solution looks a little better than previous, but customer has to import additional object. Also it's impossible to add field name checking to aggregation.fn()
I'm submitting a ...
Aggregation functions
It would be awesome if SDK had next aggregation functions implemented:
Possible syntaxes
There are a few ways to implement this functionality.
1. Simple string
Simplest syntax where aggregators are provided as the strings. Example:
Despite the fact that it's an easy to develop and clear solution, it has certain difficulties:
2. Imported statement
Example:
This solution looks a little better than previous, but customer has to import additional object. Also it's impossible to add field name checking to aggregation.fn()
3. Object
Example:
Probably, best solution. Has type checking, hints for function names, easy to extend with additional properties.
The text was updated successfully, but these errors were encountered: