mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-26 23:34:08 +02:00
Added fetchColumn, it was missing
This commit is contained in:
parent
103ed266c5
commit
0f48d0e2d6
@ -104,6 +104,11 @@ class Query extends AbstractQuery
|
|||||||
return $this->db->fetchRow($this->getSelectQuery());
|
return $this->db->fetchRow($this->getSelectQuery());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function fetchColumn()
|
||||||
|
{
|
||||||
|
return $this->db->fetchCol($this->getSelectQuery());
|
||||||
|
}
|
||||||
|
|
||||||
public function fetchOne()
|
public function fetchOne()
|
||||||
{
|
{
|
||||||
return $this->db->fetchOne($this->getSelectQuery());
|
return $this->db->fetchOne($this->getSelectQuery());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user