MCPcopy Create free account
hub / github.com/box/Anemometer / get_column_aggregate_function

Method get_column_aggregate_function

lib/MySQLTableReport.php:720–774  ·  view source on GitHub ↗

* given a column name, try to guess the aggregate function name. For now this * expects columns with a format like * colname_cnt * colname_max * colname_avg * * It checks the last letters after an underscore and returns an aggregate function that most * closely matches. Supported types are: * _sum _cnt = SUM * _avg, _median = AVG * _min, _95,

($name)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

process_form_dataMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected