public function querySummary(array $tables)
{
$dbName = $this->connection->query('SELECT database();')->fetchColumn();
$query = $this->createStatusSummaryQuery();
$query->where()->equal('table_schema', $dbName);
if (count($tables)) {
$query->where()->in('table_name', $tables);
}
$args = new ArgumentArray();
$sql = $query->toSql($this->driver, $args);
$stm = $this->connection->prepare($sql);
$stm->execute($args->toArray());
return $rows = $stm->fetchAll(PDO::FETCH_ASSOC);
}