firebase database:set /users/ada users.json

Category: Firebase & Firestore

firebase database:set /users/ada users.json

Set database data from a JSON file

Replaces the data at /users/ada with the contents of users.json, which is convenient for seeding or restoring a subtree. The file argument can also be stdin. Add -f to skip the confirmation prompt, and --disable-triggers to prevent Cloud Functions from firing on the write.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.