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

Method __construct

lib/MySQLTableReport.php:128–144  ·  view source on GitHub ↗

* create a new instance, pass configuration information describing the datasource * and the report tables and fields. * * * @param array $datasource Database connection information required :host,user,password,db; optional: port * @param array $tables Tables to use for this report. format is array( 'table_name' => 'alias' ) there must be at least one "fact" table, and

($datasource, $tables, $report)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

connect_to_datasourceMethod · 0.95
get_table_by_aliasMethod · 0.95
init_reportMethod · 0.95

Tested by

no test coverage detected