MCPcopy Index your code
hub / github.com/box/Anemometer / get_distinct_values

Method get_distinct_values

lib/MySQLTableReport.php:336–346  ·  view source on GitHub ↗

* given a table and column, find all the unique values. This is a utility * method often used when building dropdown lists on a search form, or getting * values for pivot operations. * * @param string $table the table name * @param string $colname the column name * @return array the list of unique values */

($table, $colname)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

apiMethod · 0.80
reportMethod · 0.80
show_queryMethod · 0.80

Calls 2

fetch_arrayMethod · 0.80
queryMethod · 0.45

Tested by

no test coverage detected