global as any).XMLHttpRequest = require("xhr2");
import "firebase/firestore当在终端中运行时,它输出: [2020-09-10T13:35:55.539Z] @firebase/app:
Warning: This is a browser-targeted Firebaserollup-plugin-node-res
我从给定的示例中复制和粘贴了代码,但是它失败了,出现了一个错误。从Firestore检索多个文档。对所有返回的文档持有悲观锁。Unhandled promise rejection (rejection id: 1): TypeError: transaction.getAll is not a function这是直接从文档和初始化头中复制的= firebase.fires
我希望(1)从collection_a中的文档中检索引用字段值,并将其写入collection_b中的文档。但是,我得到了一个包含大量信息的完整DocumentReference对象,而不仅仅是我想要的文档引用路径/字符串。// Function executes {onCreate} of a new Firestore document in {collection_a}
exports.createNotificat