I need to duplicate a few items in the Firebase Firestore console. I tried, but there seemed to be only two options: Delete the document and Delete all fields.
Is there a option to duplicate an object in the console?
I need to duplicate a few items in the Firebase Firestore console. I tried, but there seemed to be only two options: Delete the document and Delete all fields.
Is there a option to duplicate an object in the console?
There is no feature in the Firebase console to duplicate a Firestore document. If you think that'd be a useful feature for many user, you could file a feature request for it.
For now the easiest way to duplicate a document's contents is probably to write a small Node.js script for it.
Here is how you can do it:
There is no feature in the Firebase console to duplicate a Firestore document. If you think that'd be a useful feature for many user, you could file a feature request for it.
For now the easiest way to duplicate a document's contents is probably to write a small Node.js script for it.
I dont if it is useful but it worked for me,
i am using the Firebase Realtime Database,
while on the current node just export the json and create new node then paste the downloaded json data as the option of object.
© 2022 - 2025 — McMap. All rights reserved.