Node.js firebase/firestore获取嵌套集合

Node.js firebase/firestore获取嵌套集合,node.js,google-cloud-firestore,Node.js,Google Cloud Firestore,我有一个包含嵌套集合的文档。我一直在尝试使用firebase/firestore库获取嵌套集合,如下所述: 我刚刚返回PayloadTooLargeError:请求实体太大 有什么想法吗?此库不支持此操作吗?这与我之后访问路线的方式有关 只是稍微变了一点: let snapshot = await firebase.firestore() .collection('route') .doc('0bayKbCiAchc0Vy9XuxT') .collection('qa') .get() sna

我有一个包含嵌套集合的文档。我一直在尝试使用firebase/firestore库获取嵌套集合,如下所述:

我刚刚返回
PayloadTooLargeError:请求实体太大


有什么想法吗?此库不支持此操作吗?

这与我之后访问
路线的方式有关

只是稍微变了一点:

let snapshot = await firebase.firestore()
.collection('route')
.doc('0bayKbCiAchc0Vy9XuxT')
.collection('qa')
.get()

snapshot.forEach(doc =>{
  console.log('hello', doc.data())
})
let snapshot = await firebase.firestore()
.collection('route')
.doc('0bayKbCiAchc0Vy9XuxT')
.collection('qa')
.get()

snapshot.forEach(doc =>{
  console.log('hello', doc.data())
})