I'm new to Firestore and trying to get a few basic operations going.
I'd like to do something like this:
db.collection('quotes').doc().collection('productsOrdered').add({
This gives me an auto ID for the quotes document in the console (in italics) and on the productsOrdered document, non-italic. However, I don't seem to be able to get the data in the quotes document, even using the ID in the query. I understand that italics is normally used in the console because a collection has been deleted but not the underlying documents.
How/why do the italics correlate to writing data in the way shown in the code above? Is it possible to write data with autoID's in this way, if so how?
Thanks