src/ORM/Connect/Query.php
public function map()
    {
        $column = array();
        foreach ($this as $record) {
            $key = reset($record);
            $val = next($record);
            $column[$key] = $val;
        }
        return $column;
    }
public function map()
    {
        $column = array();
        foreach ($this as $record) {
            $key = reset($record);
            $val = next($record);
            $column[$key] = $val;
        }
        return $column;
    }
public function map ( ) { $ column = array ( ) ; foreach ( $ this as $ record ) { $ key = reset ( $ record ) ; $ val = next ( $ record ) ; $ column [ $ key ] = $ val ; } return $ column ; }
Return a map from the first column to the second column.

@return array
Return a map from the first column to the second column .