final public function fetchByColumn($column, $value, $select = '*')
    {
        $this->validateShortcutData();

        return $this->db->select($select)
                        ->from(static::getTableName())
                        ->whereEquals($column, $value)
                        ->query();
    }
final public function fetchByColumn($column, $value, $select = '*')
    {
        $this->validateShortcutData();

        return $this->db->select($select)
                        ->from(static::getTableName())
                        ->whereEquals($column, $value)
                        ->query();
    }
final public function fetchByColumn ( $ column , $ value , $ select = '*' ) { $ this -> validateShortcutData ( ) ; return $ this -> db -> select ( $ select ) -> from ( static :: getTableName ( ) ) -> whereEquals ( $ column , $ value ) -> query ( ) ; }
Fetches single row a column

@param string $column The name of PK column
@param string $value The value of PK
@param mixed $select Data to be selected. By default all columns are selected
@return array
Fetches single row a column