adplus-dvertising
frame-decoration

Question

$addToSet returns an array of all _______ values that results from applying an expression to each document.

a.

unique

b.

non unique

c.

distinct

d.

all of the mentioned

Posted under MongoDB

Answer: (a).unique

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. $addToSet returns an array of all _______ values that results from applying an expression to each document.