When i delete a document containing sub collections firebase leaves the document id greyed out and It seems not deleted from the console. Tho it does not exist in snapshots. Have i deleted the data from the database wrong? (using flutter) database in console
code for deleting document but the subcollections are still there
Future<bool> deleteWorkout(String _id) async {
try {
await _db.collection(WORKOUTS_COLLECTION).doc(_id).delete();
return true;
} catch (e) {
return false;
}
}