📜  添加到子集合 firestore 颤振 - 任何代码示例

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

代码示例1
final databaseReference = Firestore.instance;
databaseReference.collection('main collection name').document( unique id).collection('string name').document().setData(); // your answer missing **.document()**  before setData