为什么当我在 collection 中的文档中保存 collection 时,我在 firebase 中得到了一个很长的随机数(id 有点)
Why when I save a collection inside a doc inside a collection I got a long random number (id of somewhat) in firebase
我使用这段代码将一些数据保存到 firebase
this.afs.collection('USERS').doc('UID').collection('Monday').add(this.submitValue);
然后在我的数据库中,我的 collection 名称和我保存的值之间有一个数字(有点 id)。
我使用这段代码将一些数据保存到 firebase
this.afs.collection('USERS').doc('UID').collection('Monday').add(this.submitValue);
然后在我的数据库中,我的 collection 名称和我保存的值之间有一个数字(有点 id)。