- const response = await db.collection(tenantID + '.chargingstations').deleteMany(
- { _id: { '$regex': config.idPattern } }
+ const response = await db
+ .collection(tenantID + '.chargingstations')
+ .deleteMany({ _id: { $regex: config.idPattern } });
+ console.info(
+ response.deletedCount,
+ `Charging Stations with id = %${config.idPattern}% deleted. TenantID =`,
+ tenantID