Stuck at deleting parent pushed key by value/childkey
问题 I want to delete a parent pushed key by value/childkey: export class FaqsPage { qS: Observable<any[]>; ques = ''; ans = ''; constructor(private db: AngularFireDatabase) {} ionViewDidLoad() { this.qS = this.db.list('table/faq').valueChanges(); } removeItem(id){this.db.list('table/faq').remove(id);} removeItem() deleting the whole all pushed keys. No wonder because i couldn't get the parent key //faq.html <ion-list> <ion-item-sliding *ngFor="let el of qS | async"> <ion-item> <b>{{ el.Q }}</b>