adplus-dvertising
frame-decoration

Question

Which of the following performs a relative complement of the second set relative to the first?

a.

$setIntersection

b.

$setDifference

c.

$setEquals

d.

$setUnion

Posted under MongoDB

Answer: (a).$setIntersection

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of the following performs a relative complement of the second set relative to the first?

Similar Questions

Discover Related MCQs

Q. $setIsSubset returns _______ if all elements of the first set appear in the second set, including when the first set equals the second set.

Q. _______ accepts only single argument expression.

Q. $allElementsTrue returns true if no element of a set evaluates to ____________

Q. Comparison expressions return a boolean except for ________ which returns a number.

Q. Point out the correct statement.

Q. ______ returns true if the first value is less than the second.

Q. $ne returns true if the values are not _______

Q. $multiply __________ numbers to return the result.

Q. _______ adds numbers to return the sum, or adds numbers and a date to return a new date.

Q. _______ returns the remainder of the first number divided by the second.

Q. String expressions, with the exception of ________ only have a well-defined behavior for strings of ASCII characters.

Q. ________ subtracts two dates to return the difference in milliseconds.

Q. Which of the following returns a substring of a string?

Q. Point out the correct statement.

Q. Which of the following accepts a single argument expression?

Q. Which of the following performs case-insensitive string comparison?

Q. Point out the wrong statement.

Q. _______ is used for access text search metadata.

Q. Which of the following accepts named parameters?

Q. _______ returns the number of elements in the array.