library/Rediska/Command/GetFromHash.php
public function create($key, $fieldOrFields)
    {
        if (is_array($fieldOrFields)) {
            $this->_fields = array_values($fieldOrFields);

            if (empty($this->_fields)) {
                throw new Rediska_Command_Exception('Not present fields');
            }

            $command = array_merge(array('HMGET', $this->_rediska->getOption('namespace') . $key), $this->_fields);
        } else {
            $field = $fieldOrFields;
            $command = array('HGET',
                             $this->_rediska->getOption('namespace') . $key,
                             $field);
        }

        $connection = $this->_rediska->getConnectionByKeyName($key);

        return new Rediska_Connection_Exec($connection, $command);
    }
public function create($key, $fieldOrFields)
    {
        if (is_array($fieldOrFields)) {
            $this->_fields = array_values($fieldOrFields);

            if (empty($this->_fields)) {
                throw new Rediska_Command_Exception('Not present fields');
            }

            $command = array_merge(array('HMGET', $this->_rediska->getOption('namespace') . $key), $this->_fields);
        } else {
            $field = $fieldOrFields;
            $command = array('HGET',
                             $this->_rediska->getOption('namespace') . $key,
                             $field);
        }

        $connection = $this->_rediska->getConnectionByKeyName($key);

        return new Rediska_Connection_Exec($connection, $command);
    }
Create command

@param string       $key           Key name
@param string|array $fieldOrFields Field or fields
@return Rediska_Connection_Exec