Complete the code to find documents where the field 'status' is either 'A' or 'D'.
db.collection.find({ $or: [ { status: [1] }, { status: 'D' } ] })Complete the code to find documents where 'age' is less than 30 or 'score' is greater than 80.
db.collection.find({ $or: [ { age: { $lt: [1] } }, { score: { $gt: 80 } } ] })Fix the error in the query to correctly find documents where 'type' is 'book' or 'author' is 'John'.
db.collection.find({ $or: [ { type: 'book' }, { author: [1] } ] })Fill both blanks to find documents where 'category' is 'fiction' or 'year' is greater than 2010.
db.collection.find({ $or: [ { category: [1] }, { year: { $[2]: 2010 } } ] })Fill all three blanks to find documents where 'status' is 'active', or 'score' is at least 90, or 'age' is less than 25.
db.collection.find({ $or: [ { status: [1] }, { score: { $[2]: [3] } }, { age: { $lt: 25 } } ] })