Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

In the new Firebase console I can't edit the name of nor move nor clone any node of a realtime database

In the new Firebase console I can't edit the name of nor clone nor move any node (change parent) of a realtime database

I have even tested setting Rules to Public.

Is this by design ? What then, is the use of this console ? ONLY to change child values ?

like image 478
killjoy Avatar asked Aug 17 '16 12:08

killjoy


1 Answers

There is indeed no way to clone a node or rename a key in the Firebase Database console. Since the Firebase Database API doesn't have a clone/rename operation, we also don't have an equivalent in the UI.

Note that this operation also wasn't possible in the previous Firebase Dashboard, for the same reason. It has nothing to do with your security rules nor with the new release.

If you want to move a node to a new location, you'll have to emulate it:

  1. Go to the Database tab in your Firebase Console
  2. Navigate your JSON tree until you've selected the node that you want to move
  3. Open the overflow menu (three vertical dots: ) on the right and select Export JSON. Save the file to your local disk.
  4. Delete the node from the JSON tree
  5. Navigate your JSON tree to the location where you want to move the data
  6. Open the overflow menu (three vertical dots: ) on the right and select Import JSON. Select the file from your local disk.
like image 169
Frank van Puffelen Avatar answered Sep 20 '22 21:09

Frank van Puffelen