Closed Deepak-Katchi closed 3 years ago
This happens with transactions too
Firestore does not return these ids because firestore handle these batch operations on their own side. This kind of thing is not support by firestore so FireO can't do it also
Hi,
I want to write a large set of records to firestore and once I write them to firestore, I do need the ids of those records For a single item, this can be done using
item.save();
item.id
But since I have a large set of documents batched writes is the optimum way. But when I do itThis writes items to firestore but when I do
item[0].id
it returns nothing