I am writing a cloud function for creating a path/doc like this:
transaction.create(db.collection('collect1/doc1/collect2').doc(), {current: "simulator"})
There was no error or anything. The doc get created successfully as well as the collection, but the doc1
displays in italic style with gray color text and has description like this:
This document does not exist, it will not appear in queries or snapshots
Is there another way which I can achieve creating path as above without getting this result?