Increments the value of a float field by the given amount. Returns the new value of the field after the increment. Pass a negative number to decrement the value.
the key to increment
the value to increment by
Multiplies the value of a field by the given amount. Returns the new value of the field after the multiplication. NOTE: this is exponential multiplication.
the key to multiply
the value to multiply by
Static
listFor those deployments with a redis stack backend (with the FT module), this method will list all search indexes.
the hotmesh client
The Search module provides methods for reading and writing data to a workflow record. The instance methods exposed by this class are available for use from within a running workflow. The following example uses search to set a
name
field and increment acounter
field. The workflow returns the incremented value.Example