I understand that deleting values in Firebase is nothing else than updating them to “null” and that sounds simple enough. However, I would like to delete/update 30 values at the same time when a button gets clicked and instead of updating every single one of them, I would love to instead just say "delete all values that you can find under xyz.
I would like to “null” all 30 key/value pairs that are sitting underneath the user ID in the screenshot.
Is there a better/easier/faster way to achieve this rather than going like:
'1. In Realtime DB call Save Workout_Weight/userID/nick_abductionmachine value to null
'2. In Realtime DB call Save Workout_Weight/userID/nick_backextension value to null
'30. In Realtime DB call Save Workout_Weight/userID/… value to null
Thanks a lot,