I am using below query
const currentDate = new Date(); ... .collection(\'events\') .where(\'status\', \'==\', \'Active\')