简体   繁体   中英

How to remove firebase database

Please tell me, how can I delete the entire database from firebase immediately, documentation or other information could not be found, can anyone come across this before?

it,s easy

db = Database.database().reference() 
let usersReference = db 
usersReference!.removeValue()

创建一个空的JSON文件并将其导入 firebase 数据库。

db = Database.database().reference() 
let usersReference = db 
usersReference!.removeValue()

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM