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());
|
||||
}
|
||||
|
||||
public function fetchColumn()
|
||||
{
|
||||
return $this->db->fetchCol($this->getSelectQuery());
|
||||
}
|
||||
|
||||
public function fetchOne()
|
||||
{
|
||||
return $this->db->fetchOne($this->getSelectQuery());
|
||||
|
|
Loading…
Reference in New Issue