src/Koldy/Db/Query/Select.php
public function fetchAllOf(string $field): array
    {
        $array = [];
        foreach ($this->fetchAllGenerator() as $record) {
            $array[] = $record[$field] ?? null;
        }

        return $array;
    }
public function fetchAllOf(string $field): array
    {
        $array = [];
        foreach ($this->fetchAllGenerator() as $record) {
            $array[] = $record[$field] ?? null;
        }

        return $array;
    }
public function fetchAllOf ( string $ field ) : array { $ array = [ ] ; foreach ( $ this -> fetchAllGenerator ( ) as $ record ) { $ array [ ] = $ record [ $ field ] ?? null ; } return $ array ; }
Fetch all records and return array of values from each row from given field name.

@param string $field

@return array
@throws Exception
@throws \Koldy\Exception
Fetch all records and return array of values from each row from given field name .