Suggest an editImprove this articleRefine the answer for “What does $or do?”. Your changes go to moderation before they’re published.Approval requiredContentWhat you’re changing🇺🇸EN🇺🇦UAPreviewTitle (EN)Short answer (EN)`$or` is a logical operator that selects documents satisfying at least one of the conditions, e.g. `age < 18` or `isActive: false`. **Key point:** `$or` is a logical "OR" between conditions.Shown above the full answer for quick recall.Answer (EN)Image`$or` is a logical operator that selects documents satisfying **at least one of the conditions**. **Example:** ```js db.users.find({ $or: [ { age: { $lt: 18 } }, { isActive: false } ] }) ``` This query returns documents where **age is less than 18** **or** **the user is inactive**. **The gist of it:** `$or` is a logical "OR" between conditions.For the reviewerNote to the moderator (optional)Visible only to the moderator. Helps review go faster.