📌  相关文章
📜  推送和对象数组到 firebase - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:22.191000             🧑  作者: Mango

代码示例1
var key1 = postsRef.push().key;
var key2 = postsRef.push().key;
var updates = {};
updates[key1] = {
      author: "gracehop1",
      title: "Announcing COBOL, a New Programming Language"
    };
updates[key2] = {
      author: "gracehop2",
      title: "Announcing COBOL, a New Programming Language"
    };
ref.update(updates);