Closed locona closed 3 years ago
firebase.firestore.collection('_').doc().id
The reason is that you want to publish the id before generating the document. How about this method?
use docId()
docId()
The usage in firebase is as follows.
The reason is that you want to publish the id before generating the document. How about this method?