public function whereIn($key,$values=array())
    {
        $dstore= new DataStore;
        $dstore->meta($this->metaData);
        foreach ($this->rows as $row) {
            if (in_array($row[$key], $values)) {
                $dstore->append($row);
            }
        }
        return $dstore;
    }
public function whereIn($key,$values=array())
    {
        $dstore= new DataStore;
        $dstore->meta($this->metaData);
        foreach ($this->rows as $row) {
            if (in_array($row[$key], $values)) {
                $dstore->append($row);
            }
        }
        return $dstore;
    }
public function whereIn ( $ key , $ values = array ( ) ) { $ dstore = new DataStore ; $ dstore -> meta ( $ this -> metaData ) ; foreach ( $ this -> rows as $ row ) { if ( in_array ( $ row [ $ key ] , $ values ) ) { $ dstore -> append ( $ row ) ; } } return $ dstore ; }
Return rows that column contains value in an array.

@param string $key    Column name
@param array  $values List of values

@return DataStore New datastore containing results.
Return rows that column contains value in an array .