code-8
code-8

Reputation: 58702

Firebase Database Keep re-inserting nodes when deleting them

I have 3 records in Firebase databases.

I tried to truncate my database, it keeps coming back

enter image description here

I even tried via Firebase CLI

enter image description here

I still can not get rid of those records on my users table.

How would one go about stopping this?

Upvotes: 1

Views: 119

Answers (1)

Peter Haddad
Peter Haddad

Reputation: 80924

Might be a bug, but you can remove the users node in the code:

let db = firebase.database();                   
let ref = db.ref(); 
ref.child("users").delete();

Upvotes: 1

Related Questions