redis.msetnx({
  "key1": "value1",
  "key2": "value2"
})

For billing purposes, this counts as a single command.

Arguments

Response

True if all keys were set, False if at least one key was not set.

Was this page helpful?