I have this query to Firestore:
const query = await firestore.collection(`/records`) .where("targetId", "==", someId) .where(&