src/WPametu/DB/Model.php
public function get_col($x = 0, $query = ''){
        if( !$query ){
            $query = $this->build_query();
        }
        $this->clear();
        return $this->db->get_col($query, $x);
    }
public function get_col($x = 0, $query = ''){
        if( !$query ){
            $query = $this->build_query();
        }
        $this->clear();
        return $this->db->get_col($query, $x);
    }
public function get_col ( $ x = 0 , $ query = '' ) { if ( ! $ query ) { $ query = $ this -> build_query ( ) ; } $ this -> clear ( ) ; return $ this -> db -> get_col ( $ query , $ x ) ; }
Returns specified column as array

@param int $x
@param string $query
@return array
Returns specified column as array