Q. Which operator negates a condition?

A
$not
B
$neg
C
$no
D
$invert
Solution:

$not negates a query condition in MongoDB.

Entri PDF Icon

Get Question Bank

Strengthen Your Practice with our comprehensive question bank.

Entri Contact Image

Get Expert Advice for Free: Register for Your Free Consultation Now!