Increase the value of ``key`` in hash ``name`` by ``amount``. If no key
        exists, the value will be initialized as ``amount``

        Like **Redis.HINCR**        

        :param string name: the hash name
        :param string key: the key name        
        :param int amount: increments
        :return: the integer value of ``key`` in hash ``name``
        :rtype: int

        >>> ssdb.hincr('hash_2', 'key1', 7)
        49
        >>> ssdb.hincr('hash_2', 'key2', 3)
        6
        >>> ssdb.hincr('hash_2', 'key_not_exists', 101)
        101
        >>> ssdb.hincr('hash_not_exists', 'key_not_exists', 8848)
        8848

def hincr(self, name, key, amount=1):
        """
        Increase the value of ``key`` in hash ``name`` by ``amount``. If no key
        exists, the value will be initialized as ``amount``

        Like **Redis.HINCR**        

        :param string name: the hash name
        :param string key: the key name        
        :param int amount: increments
        :return: the integer value of ``key`` in hash ``name``
        :rtype: int

        >>> ssdb.hincr('hash_2', 'key1', 7)
        49
        >>> ssdb.hincr('hash_2', 'key2', 3)
        6
        >>> ssdb.hincr('hash_2', 'key_not_exists', 101)
        101
        >>> ssdb.hincr('hash_not_exists', 'key_not_exists', 8848)
        8848
        """                        
        amount = get_integer('amount', amount)        
        return self.execute_command('hincr', name, key, amount)