public function where($key,$value)
    {
        $dstore= new DataStore;
        $dstore->meta($this->metaData);
        foreach ($this->rows as $row) {
            if ($row[$key]==$value) {
                $dstore->append($row);
            }
        }
        return $dstore;
    }
public function where($key,$value)
    {
        $dstore= new DataStore;
        $dstore->meta($this->metaData);
        foreach ($this->rows as $row) {
            if ($row[$key]==$value) {
                $dstore->append($row);
            }
        }
        return $dstore;
    }
public function where ( $ key , $ value ) { $ dstore = new DataStore ; $ dstore -> meta ( $ this -> metaData ) ; foreach ( $ this -> rows as $ row ) { if ( $ row [ $ key ] == $ value ) { $ dstore -> append ( $ row ) ; } } return $ dstore ; }
Return rows that has column equal to certain value

@param string $key   Column name
@param mixed  $value Value to compare

@return DataStore New dataStore containing results
Return rows that has column equal to certain value