Db: allow access to dynamic imported rows query

This commit is contained in:
Thomas Gelf 2015-07-26 15:40:53 +02:00
parent bc231f983b
commit ce766df466
1 changed files with 9 additions and 2 deletions

View File

@ -102,7 +102,7 @@ class Db extends DbConnection
return $db->fetchCol($query); return $db->fetchCol($query);
} }
public function fetchImportedRowsetRows($checksum, $columns = null) public function createImportedRowsetRowsQuery($checksum, $columns = null)
{ {
$db = $this->db(); $db = $this->db();
@ -144,7 +144,14 @@ class Db extends DbConnection
$query->columns($fetchColumns); $query->columns($fetchColumns);
return $db->fetchAll($query); return $query;
}
public function fetchImportedRowsetRows($checksum, $columns = null)
{
return $this->db()->fetchAll(
$this->createImportedRowsetRowsQuery($checksum, $columns)
);
} }
public function enumCheckcommands() public function enumCheckcommands()