Firestore not giving the data even though it exists

后端 未结 0 1241
臣服心动
臣服心动 2020-12-13 04:07
const Ref = db.collection("characters").doc("mario");
const doc = Ref.get();
if (!doc.exists) {
  console.log(\'No such document!\');
} else {
           


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题