Get Collection only where
const collectionName = 'CollectionName';
const whereKey = 'FieldName';
const operator = '==';
const whereValue = 'Value';
try {
const result = await getCollectionWhereFirebase(collectionName, whereKey, operator, whereValue);
console.log('Filtered Collection:', result);
} catch (error) {
console.log('Error:', error);
}Last updated