📜  从 firebase swift 代码示例中删除子项

📅  最后修改于: 2022-03-11 15:00:59.954000             🧑  作者: Mango

代码示例1
// Remove the post from the DB
  ref.child("posts").child(postId).removeValue { error in
    if error != nil {
        print("error \(error)")
    }
  }