src/ORM/Connect/Query.php
public function column($column = null)
    {
        $result = array();

        while ($record = $this->next()) {
            if ($column) {
                $result[] = $record[$column];
            } else {
                $result[] = $record[key($record)];
            }
        }

        return $result;
    }
public function column($column = null)
    {
        $result = array();

        while ($record = $this->next()) {
            if ($column) {
                $result[] = $record[$column];
            } else {
                $result[] = $record[key($record)];
            }
        }

        return $result;
    }
public function column ( $ column = null ) { $ result = array ( ) ; while ( $ record = $ this -> next ( ) ) { if ( $ column ) { $ result [ ] = $ record [ $ column ] ; } else { $ result [ ] = $ record [ key ( $ record ) ] ; } } return $ result ; }
Return an array containing all the values from a specific column. If no column is set, then the first will be
returned

@param string $column
@return array
Return an array containing all the values from a specific column . If no column is set then the first will be returned