Flux Redis v0.0.2 FluxRedis.HashManager.Commands.DeleteMany View Source

Command and parser generator to remove one or more fields from a hash.

Link to this section Summary

Functions

Generates the command/0 and the parser/0 to remove one or more fields from a hash.

Link to this section Types

Link to this type

command()

View Source
command() :: list()
Link to this type

key_data()

View Source
key_data() :: atom() | integer() | float() | String.t()
Link to this type

key_data_list()

View Source
key_data_list() :: [[key_data()] | key_data()]
Link to this type

parser()

View Source
parser() :: (integer() -> integer())

Link to this section Functions

Link to this function

delete_many(hash, key_data_list)

View Source (since 0.0.2)
delete_many(atom(), key_data_list()) :: {command(), parser()}

Generates the command/0 and the parser/0 to remove one or more fields from a hash.

Parameters

  • hash - The atom/0 defined in FluxRedis hash_storages application configuration.

  • key_data_list - The key_data_list/0 with the values of each key defined in FluxRedis hash_storages application configuration.

Examples

For practical examples, please check FluxRedis.HashManager.delete_many/3.