Complete the code to query documents where the field 'age' equals 25.
const query = collectionRef.where('age', '==', [1]);
The where clause filters documents where the 'age' field is exactly 25.
Complete the code to query documents where the field 'status' is 'active'.
const activeUsers = collectionRef.where('status', '==', [1]);
The query filters documents where the 'status' field is exactly 'active'.
Fix the error in the query to find documents where 'score' is greater than 80.
const highScores = collectionRef.where('score', [1], 80);
The operator '>' means greater than, so it finds documents with score above 80.
Fill both blanks to query documents where 'age' is less than 30 and 'status' is 'active'.
const query = collectionRef.where('age', [1], 30).where('status', [2], 'active');
The first condition filters ages less than 30, the second filters status equal to 'active'.
Fill all three blanks to query documents where 'score' is greater than 50, 'age' is less than 40, and 'status' is 'active'.
const complexQuery = collectionRef.where('score', [1], 50).where('age', [2], 40).where('status', [3], 'active');
The query filters documents with score > 50, age < 40, and status equal to 'active'.