Which of the following commands is used to add the element to a set?

26. Which of the following commands is used to add the element to a set?

  1. ADD
  2. SADD key member1 [member2]
  3. SADD KEY
  4. ADDSET KEY

Answer: B) SADD key member1 [member2]

Explanation:

SADD key member1 [member2] command is used when you want to add an element to a set.

Comments and Discussions!

Load comments ↻






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