mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-28 16:24:05 +02:00
Db: allow access to dynamic imported rows query
This commit is contained in:
parent
bc231f983b
commit
ce766df466
@ -102,7 +102,7 @@ class Db extends DbConnection
|
||||
return $db->fetchCol($query);
|
||||
}
|
||||
|
||||
public function fetchImportedRowsetRows($checksum, $columns = null)
|
||||
public function createImportedRowsetRowsQuery($checksum, $columns = null)
|
||||
{
|
||||
$db = $this->db();
|
||||
|
||||
@ -144,7 +144,14 @@ class Db extends DbConnection
|
||||
|
||||
$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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user