What will happen if you use add command to assign a value to a new key, and the key already exists?

8. What will happen if you use add command to assign a value to a new key, and the key already exists?

  1. the output is NOT STORED.
  2. the output is STORED.
  3. the output is DUPLICATED

Answer: A) the output is NOT STORED.

Explanation:

The add command in Memcached is used to assign a value to a new key. If the key already exists, the output is NOT STORED.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.